This quiz assesses knowledge in C and C# programming, focusing on core topics like function usage, error identification, and handling specific programming scenarios. It's designed to enhance understanding of programming constructs and debugging skills, essential for any budding programmer.
No error
Display() doesn't get invoked
Display() is called before it is defined
None of these
Rate this question:
#include(conio.h)
#include(math.h)
#include(stdlib.h)
#include(string.h)
Rate this question:
Stdio.h
Stddef.h
Stdio.h and stddef.h
Math.h
Rate this question:
Error: Declaration syntax
Error: Expression syntax
Error: LValue required
Rvalue required
Rate this question:
&& operator
& operator
|| operator
! operator
Rate this question:
Ffff
0fff
000f
Fff0
Rate this question:
Dealloc();
Malloc(variable_name, 0)
Free();
Memalloc(variable_name, 0)
Rate this question:
0xffff
Garbage value
Ram
Error
Rate this question:
Strnchar()
Strchar()
Strrchar()
Strrchr()
Rate this question:
Infinite times
32767 times
65535 times
Till stack overflows
Rate this question:
It prints garbage values infinitely
Runs infinitely without printing anything
Error: main() cannot be called inside printf()
No Error and print nothing
Rate this question:
Ptr is array of pointers to 10 integers
Ptr is a pointer to an array of 10 integers
Ptr is an array of 10 integers
Ptr is an pointer to array
Rate this question:
1
2
3
4
Rate this question:
6
4
5
7
Rate this question:
The first character in the file
A structure which contains a char pointer which points to the first character of a file.
The name of the file.
The last character in the file.
Rate this question:
1,2
1,3
2,4
1,2,3
Rate this question:
2, 2, 0, 1
1, 2, 1, 0
-2, 2, 0, 0
-2, 2, 0, 1
Rate this question:
Hello
World
Hello World
WorldHello
Rate this question:
'c' means argument control 'v' means argument vector
'c' means argument count 'v' means argument vertex
'c' means argument count 'v' means argument vector
'c' means argument configuration 'v' means argument visibility
Rate this question:
It compiles
Compiles with an warning
Not compile
Compiles and print nothing
Rate this question:
Memory.h
Stdlib.h
Math.h
Dos.h
Rate this question:
A>b ? c=30 : c=40;
A>b ? c=30;
Max = a>b ? a>c?a:c:b>c?b:c
Return (a>b)?(a:b)
Rate this question:
Switch
Goto
Go back
Return
Rate this question:
Decimal system
Hexadecimal system
Octal system
No need to convert
Rate this question:
Quiz Review Timeline (Updated): Feb 17, 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.