Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 3 (Q.No. 1)
1.
Consider the following rules about integer constant in C
  1. An integer constant must have at least one digit.
  2. An integer constant must not have a decimal point.
  3. An integer constant may be positive or negative.
  4. The default sign is positive.
  5. A maximum of one comma or blank is allowed.
Which of the above are correct?
All
1, 2, 3, 4 only
1, 2, 3, 5
2, 3, 4, 5 only
Answer: Option
Explanation:

No comma or blank is allowed in integer constant in C.

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.