C First Program
In every programming Language we makes one Program Called Hello World.Today I am telling You that How make Your first program in C.
Before Making Your First Pogram You needs to Get some Tips:-
C Programming Introduction : Tips-
Sample C Program :-
//*C hello world example*//
#include <stdio.h>
void main()
{
printf("Hello world");
return 0;
}
Description:-
-In First line #include<stdio.h> is used to include library function stdio.h in program which has some predefined functions in library eg-printf is function defined in
library function stdio.h
-Second line void main() describe the type of data remember that every function starts with main() function.
-Third line printf("Hello world") prints the Hello World in output.
C First Program
Reviewed by ANAND PANDEY
on
6:24:00 AM
Rating:
No comments: