Updated Quiz1 C
Updated Quiz1 C
a) -3.4e38 to 3.4e38
b) -32767 to 32768
c) -32768 to 32767
d) -32668 to 32667
4) What will be the value of `a` after the following code is executed
#define square(x) x*x
a = square(2+3)
a) 25
b) 13
c) 11
d) 10
29)#include<stdio.h>
int main()
{
char c = 125;
c = c+10;
printf("%d", c);
return 0;
}
a) 135
b) +INF
c) -121
d) -8
30)#include <stdio.h>
int main()
{
if (sizeof(int) > -1)
printf("Yes");
else
printf("No");
return 0;
}
a) Yes
b) No
c) Compiler Error
d) Runtime Error