Wednesday, October 26, 2011

C Programming Introduction Summary

(a) The three primary constants and variable types in C are integer, float and character.

(b) A variable name can be of maximum 31 characters.

(c) Do not use a keyword as a variable name.

(d) An expression may contain any sequence of constants, variables and operators.

(e) Operators having equal precedence are evaluated using associativity.

(f) Left to right associativity means that the left operand of a operator must be unambiguous whereas     right to left associativity means that the right operand of a operator must be unambiguous.

(g) Input/output in C can be achieved using scanf( ) and printf( ) functions.

No comments:

Post a Comment