What type of problem will result if the following statement is used?

What type of problem will result if the following statement is used?
int main()
{
short int a;
unsigned short int=b32768;
a=b;
printf( ” a = %d”, a);
b=65535;
a=b;
printf( ” a = %d”, a);
}

What type of problem will result if the following statement is used?
int main()
{
short int a;
unsigned short int=b32768;
a=b;
printf( ” a = %d”, a);
b=65535;
a=b;
printf( ” a = %d”, a);
}

A.
Truncation

B.
Pointer subterfuge

C.
Sign error

D.
Function-pointer clobbering



Leave a Reply 0

Your email address will not be published. Required fields are marked *