Recent Posts

Sunday 24 December 2017

How to write C Program

In the C programming language Data type, operator, identifiers, keywords, constants, and variables are the basic building blocks of C Program.Before starting program first we must know :

  1. What alphabet digit and special symbols are used in C.For writing a C program you must have the basic knowledge of following things.If you didn't read this topic you can read here by clicking these link:

                       
     2.  How to construct constant, variable and keywords by using this alphabets digits and special             symbols.
     3. How these are combined to form an instruction.
     4. A group of instruction would be combined to form an program.

Step to learning C program

Rules for writing a C programs and statements:
  1. Every C program should begin with 'main()' function.
  2. Blank spaces can be inserted in between two words to improve readability of the statement.However,no blank spaces are allowed inside a variable, constant and keyword.
  3. Usually all statements are  entered in lower case letters.
  4. C has no specific rules for the position at which a statement is to be written.So it is typically known as free-form language.
  5. Any C statement always end with a semicolon (;).

0 comments:

Post a Comment

Followers

Popular Posts

Categories

social media

Text Widget

Powered by Blogger.

About Me

My name is junaid khan and i am a full time blogger and author of a blog tutorial called tutorialpointsolution.

String function

In the previous post we learn about what is String .we know that string is a collection of two or more characters.In string we can store al...

Search This Blog

Technology

Adbox

Recent Post

Breaking

Recent In Internet

Comments

Facebook

Pages

Comments

Pages

Recent

Pages

Technology