C Data Types 2 Questions and Answers
Practice ModeShowing 10 of 159 questions
Q51
Find the output
#include"limits.h"
void main ( )
{
signed short int x=9;
if (x & INT_MIN) = = INT_MIN
printf("neglative");
else
printf ("positive");
}
Answer: Option A
Q52
L-value is not applicable to
Answer: Option D
Q53
Find the output
void main ( )
{
int x =9;
float f=(float)x/2;
printf ("%d", f);
}
Answer: Option C
Q54
Find the output
void main ( )
{
int x=266;
printf ("%0x", x);
}
Answer: Option D
Q55
Find the output
void main ( )
{
int x=078;
printf ("%d", x);
}
Answer: Option C
Q56
Find the output
void main ( )
{
printf ("/*cd*/ef");
}
Answer: Option C
Q57
Find the output.
void main ( )
{
int a=1,b ;
b=+-+a+-a;
printf (%d", b);
}
Answer: Option C
Q58
Find the output
void main ( )
{
int x=2;
printf ("%d", x*=3/2);
}
Answer: Option A
Q59
Find the output
extern int i;
void main ( )
{
printf ("%d", i);
}
Answer: Option C
Q60
Find the output.
void main ( )
{
unsigned 10ng i=40000;
printf (%d", i);
}
Answer: Option A