C Data Types 2 Questions and Answers
Practice ModeShowing 10 of 159 questions
Q1
Find the output
void main ( )
{
int x=256;
char ch=x;
printf {%d", ch};
}
Answer: Option D
Q2
The size of an integer variable depends upon
Answer: Option B
Q3
Integers are stored internally in
Answer: Option D
Q4
Which of the following is a correct declaration?
Answer: Option D
Q5
Find the output
void main ( )
[
printf (%d%d", 4.5, 5};
}
Answer: Option B
Q6
Which modifier almost doubles the largest value of an integer ?
Answer: Option B
Q7
Find the output
void main ( )
enum {x=32767,y};
printf (% %d", x, y);
}
Answer: Option D
Q8
In 'C', types are partitioned in to
Answer: Option C
Q9
Macros like INT_MIN, INT_MAX are defined in which header file.
Answer: Option B
Q10
Which data type behaves like both integer type and character type ?
Answer: Option C