Search This Blog

Thursday, July 28, 2016

C Programming

 Introduction to C


Every full C program begins inside a function called "main". A function is simply a collection of commands that do "something". The main function is always called when the program first executes. From main, we can call other functions, whether they be written by us or by others or use built-in language features. To access the standard functions that comes with your compiler, you need to include a header with the #include directive. What this does is effectively take everything in the header and paste it into your program. Let's look at a working program:


*** Everyone write there first C programming like................


                              

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

N.T: It just know the world I am in alive & start something for world.......



Output of the code



No comments:

Post a Comment