Dive into the Basics of C Language with this trivia quiz! Test your understanding of variable names, code outputs, and conditional logic in C. Ideal for beginners aiming to solidify their programming skills and grasp essential concepts effectively.
It will cause a compile-time error.
It will cause a run-time error.
It will run without any error and prints 3.
No output and program will terminate abnormally.
Rate this question:
128
-128
Depends on the compiler
Compile time error as char can't be assigned an int value
Rate this question:
World 3
World 0
Hello 0
Hello 3
Rate this question:
5 5
10 10
10 5
5 10
Rate this question:
Equal
Not equal
Output depends upon compiler
Compile-time error
Rate this question:
A basic data type
Qualifier
Modifier
‘short’ is qualifier, ‘int’ is basic data type.
Rate this question:
Yes
No
Depends on the compiler
Depends on the C standard you are using
Rate this question:
071
71
57
56
Rate this question:
Compile time error
Hello 2018!
12
Hello 2018! 12
Rate this question:
Foobarinfiniteinfiniteinfinite………∞
Foobar
Foobarinfinite
Compile-time error
Rate this question:
3
4
5
6
Rate this question:
Syntax Error
1
5
10
Rate this question:
Compile time error
-1 1
1 -1
Implementation defined
Rate this question:
TRUE 1
TRUE 2
TRUE 1 TRUE 2
Compiler Dependent
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.