MEDHA - The programming quiz tests your understanding of C programming. It includes questions on code outputs, memory management, and operator precedence, assessing key C programming skills.
5 5 5
5 5 garbage value
5 5 0
Compile error
Rate this question:
Malloc
Calloc
Realloc
Resize
Rate this question:
Hello, world!
Compile error
No output
Runtime error
Rate this question:
* (asterisk)
# (Hash)
+ (Addition)
_ (underscore)
Rate this question:
Addition, Subtraction, Multiplication, Division
Division, Multiplication, Addition, Subtraction
Multiplication, Addition, Division, Subtraction
Mathematical operators can be done in any order
Rate this question:
Relational Arithmetic Logical Assignment
Arithmetic Relational Logical Assignment
Logical Arithmetic Relational Assignment
Assignment Arithmetic Logical Relational
Rate this question:
Infinite loop
Prints “Hello” once.
No output
Compile error
Rate this question:
Executable code
Object code
Assembly code
None of above
Rate this question:
C++
B++
B
MINI C
Rate this question:
ltoa()
Ultoa()
Sprintf()
None of the above
Rate this question:
3 2 1 0
3 2 1
3 3 3
Compile error
Rate this question:
R
W
X
A
Rate this question:
Float, long double
Long double, short int
Float, double, long double
Short int, double, long int, float
Rate this question:
%L
%If
%Lf
None of the above
Rate this question:
C++ C++
C++ ++
++ ++
Compile error
Rate this question:
Max = a>b ? a>c?a:c:b>c?b:c
A=b ? c=30;
A>b : c=30 : c=40;
Return (a>b)?(a:b) ?a:c:b
Rate this question:
Malloc() and memalloc()
Alloc() and memalloc()
Malloc() and calloc()
Memalloc() and faralloc()
Rate this question:
Value of elements in array
First element of the array
Base address of the array
Address of the last element of array
Rate this question:
Strchr()
Strrchr()
Strstr()
Strnset()
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 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.