Hot News!

Not Available

Click Like or share to support us!

Mar 29, 2012

C/C++: First C Program

#include 
#include
main(){

 printf("Hello, this is my first program");
 getch();

}


Out put: Hello, this is my first program



//Code with Explanation 

#include  // is header file block which imports all keyword from "stdio.h" file. For example: printf keyword
#include  // is header file block which imports all keyword from "conio.h" file. For example: getch keyword

main(){
//main() {} is main block code that first execute in C program
 
 printf("Hello, this is my first program");
 //printf is keyword that show output on screen 
 
getch(); 
 //getch() is keyword that pause screen to see result.
}

1 comment: