1.

What is the default state of an integer in c language?(a) Signed(b) Unsigned(c) System dependent(d) There is no default stateThe question was posed to me during an interview.I need to ask this question from Signed Qualifier in section Miscellaneous Topics in C of C

Answer»

The correct answer is (a) SIGNED

The best I can explain: The DEFAULT state of an integer in c LANGUAGE is signed. HENCE we can store both positive and negative integer VALUES in it.



Discussion

No Comment Found

Related InterviewSolutions