TODAY JAVA SCHOOL

In java school, programming, design, computer general knowledge, web application, software, web services, social media, digital marketing, oops, concept of programming language, oops feature, console media, graphics medium, first programming, c, c ++ , Java, PHP, SQL, MySQL, HTML, HTML_5, J_query, JavaScript, Bootstrap, Framework, images with logos, examples, shared and explained.

https://www.amazon.in/b?node=26373545031&linkCode=ll2&tag=1234567801cdb-21&linkId=3b9882431b00409b44141e0344b35a15&language=en_IN&ref_=as_li_ss_tl

Breaking

Sunday, 3 May 2020

First Program In C Language | My First Program In C Language | First Program In C Language In Hindi

First Program In C Language


We  need to learn how to write, compile and run the first program in c.

To write the first c program, open the C console and write the following code:
   

   Program:


    #include <stdio.h>    
    int main(){    
    printf("Hello Word");     
   return 0;   
   }  

#include <stdio.h> includes the standard input output library functions. 

The printf() function is defined in stdio.h .

int main() The main() function is the entry point of every program
 in c language.

printf() 

The printf() function is used to print data on the console.

return 0 

The return 0 statement, returns execution status to the OS. The 0 value is used for successful execution and 1 for unsuccessful execution.


find the image of trubo c image of first program

Fig: First Program In C Language 

Output:

download image of output of program

Fig: Output of program 

No comments:

Post a Comment