Btechadda.com

Rules in C language

by Shivu on Jan.26, 2010, under C Language Data Strucutres

[ad#HTML]

Rules in C language

Here are the few basic and necessary rules while coding in c language .


[ad#Post Banner bid]

  • C language is a case sensitive language , ie Int is not same as int and Sum is not same as sum .
  • Number of open braces should be equal to number of closing braces.ie if you use { { brace you need to close it with  } }
  • Every line in c language ends with ; telling the compiler that it is end of the statement .
  • When you declare the character constants or variables you need to enclose them with  ‘  ‘ .
  • When you are declaring the string constants or variables you need to enclose them with  “ ” .

[ad#Post Banner bid]


1 Comment for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...