This C Programming Quiz: Practice Exam tests understanding of C syntax and functions, assessing skills through code snippets and problem-solving scenarios. Ideal for learners aiming to enhance their programming acumen.
Code returns error
Code returns the length 13
Code returns the length 12
Code returns the length 0
Rate this question:
D T
A D
D A
T D
Rate this question:
Compilation error
While loop is amazing one
Runtime error
none of the above
Rate this question:
10
20
30
Error
Rate this question:
Good morning
Morning
Good
D morning
Rate this question:
5
6
4
Error
Rate this question:
Hy
Yo
Hyghost
None of the above
Rate this question:
Error
bubble sort
quick sort
insertion sort
Rate this question:
At
Data
Ata
None of the above
Rate this question:
1 1
1 2 3 4
2 3
none of the above
Rate this question:
wow
How
Compilation error
Syntax error
Rate this question:
1 2
1 2 3
1 2 3 4 5
none of the above
Rate this question:
hey
hii
none of the above
Error
Rate this question:
Compilation error
Runtime error
9
linker error
Rate this question:
Infinite times
11 times
0 times
10 times
Rate this question:
6
1,2,3,4
5
0,1,2,3,4,5
Rate this question:
b=100 c= garbage
B=300 c= garbage
b=100 c=200
B=300 c=200
Rate this question:
0 1 2...65535
Infinte Loop
0 1 2...32767-32766-32765-1 0
No Output
Rate this question:
No Output
X and y are not equal
x and y are equal
Unpredictable
Rate this question:
It Matters
It doesn't Matters
Matters
No Output
Rate this question:
1,2,15
2,3,20
2,1,15
3,2,15
Rate this question:
Three Garbage Values
10 10 10
Compile time Error
50 50 50
Rate this question:
Same address is printed
Different address is printed
Compile time error
Nothing
Rate this question:
&& operator
& operator
|| operator
! operator
Rate this question:
Int
volatile
DOUBLE
.__0__
Rate this question:
Integer
Integer pointer
Both, Integer & Integer pointer
None of above
Rate this question:
1 2 3
1 3
1 3 2
Compilation error
Rate this question:
Right to Left
Left to right
Rate this question:
Comma
Logical AND
Plus
Modulus
Rate this question:
2 % 4;
2 % 4l;
2 % 4f;
Both 2 % 4l; and 2 % 4f;
Rate this question:
1
2
3
4
Rate this question:
1972
1970
1978
1979
Rate this question:
Sum is function which takes int arguments
Sum is a function which takes two int arguments and returns void
it will produce compilation error
Can't comment
Rate this question:
Operator Overloading
Function Overloading
Function Overriding
Function renaming
Rate this question:
Math.h
mathio.h
String.h
Ctype.h
Stdio.h
conio.h
Stdlib.h
Stdlibio.h
Rate this question:
Mathio.h
Math.h
Square.h
Stdio.h
Rate this question:
Formal parameters
Constants
Macros
Local variables
Rate this question:
10 9 10
9 10 9
9 9 10
None of the above
Rate this question:
2
-2
3,4
-3,4
Rate this question:
Short a = 10;
Unsigned short b = 20;
Long double c = 30;
Long short d = 40;
Rate this question:
Ken Thomson
Peter Norton
Von Neuman
Dennis Ritchie
Rate this question:
0
1
2
3
Rate this question:
realloc()
Calloc()
Malloc()
Memadjust()
Rate this question:
Void
Int
Char
Float
Rate this question:
55
54
1
0
Rate this question:
5
10
25
50
Rate this question:
11
10
Compilation error
0
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.