Rules For Defining Variables And Some Keywords In C
link
Let’s see some of the rules that we must follow while coding C Language and let’s also go through some of the keywords that we must know to follow the rules properly.
Characters allowed : Underscore(_), Capital Letters ( A – Z ), Small Letters ( a – z ), and Digits ( 0 – 9 ).Blank spaces and commas are not allowed.No Special Symbols other than underscore(_) are allowed.First Character should be alphabet or Underscore.Variable name Should not be Reserved Keywords.Keywords are reserved words which have standard, predefined meaning in C. They cannot be used as program-defined identifiers.Generally all keywords are in lower case although uppercase of same names can be used as identifiers.Keywords in C :charintlongunioncontinuegotowhileifdoubleenumconstforsizeofdoelsestructregisterfloatsignedvolatiletypedefswitchbreakexternshortvoidautocasestaticreturnunsigneddefaultThese are the major keywords used in C Language, let’s see with more in the next post.
Related Posts
Constants In C Language
Nov 18, 2017
Variables In C Language
Nov 07, 2017
Print Hello World Using C Language
Nov 05, 2017
Comments (0)
Leave a Comment
No comments yet. Be the first to comment!