Sequential
Random
Sequential and Random
None of the above
A. Sequential
True
False
True
False
Keywords have some predefine meanings and these meanings can be changed.
Keywords have some unknown meanings and these meanings cannot be changed.
Keywords have some predefine meanings and these meanings cannot be changed.
None of the above
24
2
26
None
True
False
''
" "
'a'
abc'
#include
int main()
{
float a=5.2;
if(a==5.2)
printf("Equal");
else if(a<5.2)
printf("Less than");
else
printf("Greater than");
return 0;
}
Less than
Equal
Greater than
None of above
/ + *
* / +
+ / *
* / + -
void main()
{
int z, a = 5, b = 3; z = a * 2 + 26 % 3;
printf("%d", z); }
10
0
12
None of the above
3.4e38 to 3.4e38
32767 to 32768
32768 to 32767
32668 to 32667
putchar(65)
putchar('x')
putchar("x")
')
True
False
void main()
{
char a = 'B';
switch (a)
{
case 'A' : printf("a");
case 'B' : printf("b");
default : printf("c");
}
B
b
bca
bc
float
string
int
wchar_t
True
False
True
False
True
False
the return 0; statement
the first statement after the loop
the statement following the continue statement
the next iteration of the loop
Positive value
Zero
Negative value
None of these
True
False
abstract
Virtual
Dynamic
Typeid
An Editor
A compiler
An operating system
None of the above
Simple Template Library
Standard Template Library
Static Type Library
Single Type-based Library
What will be output if you will compile and execute the following c code?
#include
#define x 5+2
int main(){
int i;
i=x*x*x;
printf("%d",i);
return 0;
}
27
343
233
Compiler Error
True
False
void main()
{
static int a = 1, b, c;
if (a>=2) b=2; c=3;
printf("%d\t%d", b,c);
}
2 3
0 3
0 0
2 0
91
88
90
89
#if
#elseif
#undef
#pragma
main()
{
int a = 0;
for (; i = 0; i++)
printf("%d", a);
}
0
Nothing will be displayed
Infinite loop
None of the above
True
False