Data types in C interview questions

Total available count: 8
Subject - Programming Languages
Subsubject - Data types in C

Explain int Data type with example?

An int requires 2 bytes on most compilers and the minimum and maximum numbers that these 2 bytes can hold are -32,768 and 32767 respectively. An int is used to store whole integer numbers and cannot have fractional values or a decimal point.


int persons = 6;



Next 3 interview question(s)

How short modifier is used to modify the int data type?
What are the Basic Data types?
Which Modifiers used with Basic Data Types?