Sunday, June 23, 2019

First C program



#include<stdio.h>
int main()
{
          Printf(“Welcome To The Aryabhatta Institute”);
          Return 0;
}
Here, # - is a preprocessor directive
Here, <stdio.h> - is include the standard input output library function
Here, int main – is a function which is the entry point of every program in c language
Here, printf() – is used to print data on the console
Here, return 0 – return execution status 0 for successful execution and 1 for unsuccessful execution.

No comments:

Post a Comment