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?

A. All
B. 1, 2, 3, 4 only
C. 1, 2, 3, 5
D. 2, 3, 4, 5 only
Answer» C. 1, 2, 3, 5


Discussion

No Comment Found

Related MCQs