SAMIR UDDIN

Hello guys welcome to my web blog ,my very special blog gives you latest technical knowledges and I want to proviod you quality and short posts .If you need any type of posts please tell me in comment section,If anybody have some questions related to my posts please tell me at https://www.samirmd.blogspot.com https://www.youtube.com/channel/UC4k3h0R2H8HVSQqAbuYY27Q https://www.facebook.com/mdsamir.shaikh.948

Latest Tweets

LightBlog
Responsive Ads Here

Wednesday, August 2, 2017

Basic Structure of C Programming

Basic Structure of C Programming
Documentation Section
Single line comment
           //Text……
Multi line comment
              /*Multi     

                    line comment*/
Link Section
§Header Files

 #include<x.hà where x is a header file like such as :
 string.h---àfor string handling function
          stdio.h ----àfor  standardized input and output functions
                       math.h ---àfor mathematical functions 
                      alloc.h ---àfor dynamic memory allocation
         conio.h --àfor clearing the screen
         stdlib.h --àfor some miscellneous functions
 Source Code file
Contain source code of the program 
Object Files
Generated by the compiler  as a result of processing the source code
Binary Executable File
Generated by the linker  as a result of production of binary files through the object     filesthat can be directly executed on Windows  operating system in .exe extension
Definition Section
Eg/ user define header file
          #define MAX 50 etc…  
*Here MAX is a constant whose value is 50
Global Declaration Section
When the declare the variable before the main function of program  
Main Section
§It consist of Declaration part and executable part of the program
§Eg/    main()
               {
                       declaration part // int a,char b,float c etc..
                       executable part //
                 }



Subprogramming Sectio
In sub programing section we may create a function for a particular task and call to main function.
             We may create more than one function in a single program
     §Eg /         Function1()
                             Function2()
                                     ………..FunctionN()  

No comments:

Post a Comment