C Data Types 2 Questions and Answers
Practice ModeShowing 10 of 159 questions
Q81
In an intel fami9ly processor if the data is 0X0FF trhen how they are stored in memory of addresses 3001 & 3002?
Answer: Option A
Q82
In a big endian system the data 456 can be store in
Answer: Option B
Q83
'putc' is a command to
Answer: Option B
Q84
Find the output
void main ( )
{
int i=5;
enum vehicle (car=i, bike, scooter);
printf ("%d", car);
}
Answer: Option C
Q85
Find the output
void main ( )
{
if ("\0")
printf ("Hello");
else
printf ("Hi");
}
Answer: Option B
Q86
Find the output
void main ( )
{
int i=5;
printf ("%d %d %d", ++i, +i,i);
}
Answer: Option C
Q87
Find the output
void main ( )
{
enum x{a=2, b--, c++);
printf("%d %d %d", a, b, c,);
}
Answer: Option D
Q88
Find the output
void main ( )
{
typedef char int;
int x='a', y='1';
printf ("%d", x+y);
}
Answer: Option C
Q89
Unrealiable conversion between int and float is called as
Answer: Option C
Q90
Find the output.
void main ( )
{
int x=0x;
int y=012;
int z=10;
if (x==y==z)
printf("mystery");
else
printf("shocked");
}
Answer: Option B