What do you know about C language programming? There are so many different types of computer languages, and it can be a daunting task to know which is which. C language is a structure-oriented programming language, and it is within the middle level of programming. The Windows program is written in C language, and there are some basic rules for success with this language. Take this test and find out if you are successful in learning about C language programming.
/ + * –
* – / +
+ – / *
* / + –
The element will be set to 0.
The compiler would report an error.
The program may crash if some important data gets overwritten.
The array size would appropriately grow.
11
7
5
9
34
43
44
33
If (x == 0) return 0;
Return 1;
If (x >= 2) return 2;
If (x <= 1) return 1;
7
6
5
Error
Help
includehelp
Ehelp
None of these
Runtime_error and Compile time error
Compile time error and Runtime_error
Syntax error and Syntax error
No output and END
65.00
65
A
Error
Memory.h
Stdlib.h
String.h
Dos.h
Representation of NULL pointer
Representation of void pointer
Error
None of above
Near=2 far=4 huge=4
Near=4 far=8 huge=8
Near=2 far=4 huge=8
Near=4 far=4 huge=8
((((a+i)+j)+k)+l)
*(*(*(*(a+i)+j)+k)+l)
(((a+i)+j)+k+l)
((a+i)+j+k+l)
True
False
Error: invalid assignment for x
Error: suspicious pointer conversion
No error
None of above
1
Infinite
0
Compilation Error
True
False
Syntax Error
Run time Error
J and i are pointers to an int
I is a pointer to an int and stores address of j
J is a pointer to an int and stores address of i
J is a pointer to a pointer to an int and stores address of i
I Love U
Love You
I hate U
I Hate You
Sqr(x)
Pow(2, x)
Pow(x, 2)
Power(2, x)