Skip to main content

Hello World - The First Program


Hello World The First Program 

Program

    File: - Helloworld.c

                #include <stdio.h>                            // header file 
                #include <conio.h>                           // header file

                void main() {                                    // main function with return type
                                                                
                        printf("Hello, World!");            // for display the your stetmant 
                        getch ();                                     // return type
                }


    Output: -
                    Hello, World!




    Practices Question: -

            1.   Print your name using printf statement?
            2.   Print your think, About India using a simple printf statement?








Comments

Popular posts from this blog

Python

 Python Python is a high-level, interpreted programming language known for its simplicity and readability. It was created by Guido van Rossum and first released in 1991. Python emphasizes code readability and a syntax that allows programmers to express concepts in fewer lines of code compared to languages like C++ or Java. Here are some key features and aspects of Python: 1. Simple and Readable Syntax : Python's syntax is designed to be simple and easy to understand, which makes it accessible to beginners and experienced programmers alike. It uses indentation to define code blocks, which enhances readability. 2. Interpreted : Python is an interpreted language, meaning that code is executed line by line, which allows for rapid development and debugging. 3. High-level Language : Python abstracts away many low-level details such as memory management, making it easier to focus on solving problems rather than dealing with system-level concerns. 4. Dynamic Typing : Python uses dynam...

A Comprehensive Guide to C++: Introduction, Syntax, Advantages, Disadvantages, and Uses

Introduction Of C++ Introduction: C++ is a widely-used programming language known for its efficiency and flexibility. It was developed by Bjarne Stroustrup in the early 1980s as an extension of the C programming language. Stroustrup aimed to enhance C by incorporating features from Simula, a programming language that introduced the concept of classes and objects. The result was C++, which became popular for its ability to support both low-level programming and object-oriented programming paradigms. Today, C++ is utilized in various industries and applications, ranging from system programming and game development to high-performance software. Syntax: The syntax of C++ is derived from C, making it familiar to programmers already acquainted with the C language. C++ introduces additional features such as classes, objects, and inheritance, which enable the use of object-oriented programming techniques. Here's a basic example of a C++ program:            ...