
First Program:-
Today We Are Writting Our First Program In C language . In This Program We Simply Print Our Name OnOutput Screen ..So Let us Write Code :-
Source Code:- (coloured portion)
#include<stdio.h> //header file for standered input out-put library Function#include<conio.h> //Header File For Consol Input Output Screen .This Is Optional For Linux Operating System
void main() //main function is neccessary for any program in linux we use int before main
{
printf("Mantu Pathak"); //the printf function is for printing Message On Output Screen
getch(); // this is for holding output screen before any key pressing from keyboard if we use then we have to // use return 0;(for int main() )
} //this is for denoting that fuction definition is ended.
For Compiling and Running This program
1) Linux User :-* Exclude #include<conio.h>
*use int main()*use return 0; at the place of getch();
*Now Save The Program With name.c
Open Terminal and type (Navigate The Directory Where File Is Saved)
a) gcc name.c after that enter
b)./a.out
Output Will come at Output Screen
Mantu Pathak
2) Windows User :
Install turbo c And Write The Code And Save That Program By Pressing F2
After That Compile BY ALT+F9 after that Run By Pressing CTRL+F9
Output :- Mantu Pathak

Very Useful information that i have found. donot stopand Please keep updating us..... Thanks
ReplyDeleteThank your valuable content.we are very thankful to you.one of the recommended blog.which is very useful to new learners and professionals.content is very useful for hadoop learners
ReplyDeleteBest ASP.NET MVC Online Training Institute
Best Spring Online Training Institute
Best Devops Online Training Institute
Best Datascience Online Training Institute
Best Oracle Online Training Institute
Best AWS Online Training Institute
Best AngularJS Online Training Institute
Best C-language Online Training Institute