C Data Types 2 Questions and Answers
Practice ModeShowing 10 of 159 questions
Q91
Find the output
void main ( )
{
int x=5, y=3;
x=x+~y+1;
printf (%d", x);
}
Answer: Option C
Q92
Find the output
{
printf("%f", 9/5);
}
Answer: Option D
Q93
Width of address bus of pentium IV processor is
Answer: Option B
Q94
Find the output.
void main ( )
{
float x=3 . 2;
float y=2.2
printf("%.2f", x/y);
}
Answer: Option A
Q95
Find the output
void main ( )
{
int x=1;
if (x++>=x)
printf("%d", x);
else
printf ("%d", ++x);
}
Answer: Option B
Q96
Find the output.
void main ( )
{
char x,y;
printf ("%d', scanf ("%c%c', &x, &y));
}
Answer: Option A
Q97
Find the output
void main ( )
{
int a=9;
char c;
c=2*20.5+a;
printf("%c", c);
}
Answer: Option C
Q98
in LINUX o.s. the virtual address is of
Answer: Option B
Q99
Find the output
void main ( )
{
unsigned int i=65535;
printf ("%d, i++ + ++i);
}
Answer: Option A
Q100
Find the outptut
void main ( )
{
enum color (red, green);
enum colors (green, white);
printf (%d %d", green, white);
}
Answer: Option D