Print "Hello world !!" Using C language.| very Basic |C Program series 01|
👨💻PROGRAM: Print "Hello world !!".
Code:
//PROGRAM: Print "Hello world !!"
#include<stdio.h>
//Here, above we included(attached) stdio.h (standard input output header file)
void main()
{
printf("Hello world !!");
//here, we use the printf function which is contained by stdio.h header file
}
⚠️Something about Comments ⬇️ :
// Single-line comments are written like this in C language by using the double forward slash
/* Multi-line comments are written like this in C language by using double forward slash */
/*
Comments help to write something as a note which helps to understand the code.
Comments are ignored by the compiler.
It is optional to use comments but it is good to write comments between the code to understand " what is happening where "
*/
Output:
👉Click for more C Program series Questions.[Questions list]
Comments
Post a Comment