0

I m new student in cse branch i just want to understand what is conding how we r doing it hello world in c want full explain

1st Aug 2017, 12:08 PM
Saurav Bhartia
Saurav Bhartia - avatar
5 Réponses
+ 2
well,here goes: #include<stdio.h> /*This line includes the standard input output header file which contains the definitions of some standard input output functions like printf() etc*/ int main(){ /*this is the main function. Every C program must have a main function. this is where your compiler starts executing ur program from*/ printf("Hello World"); /*This is a simple print statement that tells the compiler to write hello world onto the screen*/ return 0; /*this is the return statement. Since you are asking this question means you are just beginning and this stuff is a lil intermediate level. So, learn a bit more about functions.. its nothing until then*/ } /* End of main function and this ia where our program ends*/
2nd Aug 2017, 8:54 PM
Rik Roy
Rik Roy - avatar
2nd Aug 2017, 9:03 PM
Rik Roy
Rik Roy - avatar
+ 1
All you have to do is ask
3rd Aug 2017, 3:20 AM
Rik Roy
Rik Roy - avatar
0
I want go further now I understood basics can u help me that how to write the programs
3rd Aug 2017, 12:40 AM
Saurav Bhartia
Saurav Bhartia - avatar
0
okk
3rd Aug 2017, 6:33 AM
Saurav Bhartia
Saurav Bhartia - avatar