You are here: C Tutorial
Introduction
History If we talking about the history of C, we see that there is a long journey from starting of C to latest C which are used frequently.
So, in today's scenerio, we use ANSI C. Some important facts about C
Example A C program basically consists of the following parts − Preprocessor Commands Let us look at a simple code that would print the words "Hello World" − /* my first program in C */ //(Comments- Not compile by compiler)
#include <stdio.h> //(Preprocessor commands)
int main() //(Globally declared function called main function)
{ //(Starting of body of main function)
printf("Hello, World! \n"); //(Print or display function)
return 0; //(Returing values, here nothing will returned so return 0)
}//(End of main function)
Output: Hello, World!
|
BlogActive User (0)
No Active User!
|