Ok So Let Me Explain About The First Line In The Structure Of C Program From The Previous Pic .
The First Line Is The Documentation Section
To Exactly Understand What It Is We Need To Understand Another Topic Comments
So What Is A Comment In C ?
It Is Something That Does Not Affect The Running Of The Program
It Is For The Programmer`s Understanding Comments Are Used .
There Are Two Ways To Comment In C
1>Single Line Comment // This Is A Single Line Comment
2>Bock Comment /* The Comment Goes In Here */
A Single Line Comment Is Used When The Comment Is Short .It Is Valid For Only One Line . If The Comment Is Big Its Better To Use A Block Comment , Unlike Single Line Comment Block Comment Can Be Used For Many Lines Together . Unless We Remember To Close Where The Comment Ends . In Single Line Comment There Is No Need TO Specify Where The Comment Ends.
Documentation : So These Are Just Comments That Specify About The Program . Like Who Is The Author, The Date The Program Was Created , The Version Of Program Etc Etc .
They Do Not Interfere With The Running Of Program And Neither Are They Visible When Programming Is Running . The Compiler Does Not Do Anything With The Comment . (Will Talk More About Compiler After Structure)..
Monday, August 15, 2011
Saturday, August 13, 2011
Structure Of C
Welcome Back ,
In This Post Let Us Look At Structure (Format) Of C Language.
When Writing A Letter We Follow Some Procedure.
Lets Take A Look At It
The Same Way For C We Have A Structure/Format
Take A Look At This Pic
This Is The Structure Of C . Will Continue About It In The Next Post.
In This Post Let Us Look At Structure (Format) Of C Language.
When Writing A Letter We Follow Some Procedure.
Lets Take A Look At It
The Same Way For C We Have A Structure/Format
Take A Look At This Pic
This Is The Structure Of C . Will Continue About It In The Next Post.
Sunday, January 16, 2011
Subscribe to:
Posts (Atom)