Dive into the intricacies of C programming with this trivia quiz! Test and enhance your understanding of variable naming, function arguments, user-defined data types, and union management. Perfect for learners aiming to sharpen their coding skills.
First member in the union
Last member in the union
Biggest member in the union
Sum of the sizes of all members
Rate this question:
Union-name.member
Union-pointer->member
Both union-name.member& union-pointer->member
None of the above mentioned
Rate this question:
Function can modify the argument
Function can’t modify the argument
Const argument to a function is not possible
None of the above
Rate this question:
Friend function
Virtual function
Operator overloading
Function overloading
Rate this question:
Four
Three
Two
None of the above
Rate this question:
1, 2 and 3 only
2, 3 and 4 only
1, 3 and 4 only
All 1, 2, 3 and 4
Rate this question:
Array
List
Heap
All of above
Rate this question:
A *= b + 1;
(c = a * b)!=(a = c + a);
A = (b + 1)* a;
All of the above
Rate this question:
Java myfile 222
Java myfile 1 2 2 3 4
Java myfile 1 3 2 2
Java myfile 0 1 2 3
Rate this question:
444.32495.1
456
458.42399
458.4
Rate this question:
Volatile
True
Friend
Export
Rate this question:
Single dimension array
2-dimensional square array
Jagged array
2-dimensional rectangular array
Rate this question:
0
Null
Compile error
Nullpointerexception at runtime
Rate this question:
1 - true, 2 - true
1 - false, 2 - true
1 - true, 2 - false
1 - true, 2 - true
Rate this question:
Int()
Secondary()
Template()
Main()
Rate this question:
Int[ ] scores = {3, 5, 7};
Int [ ][ ] scores = {2,7,6}, {9,3,45};
String cats[ ] = {"fluffy", "spot", "zeus"};
Boolean results[ ] = new boolean [] {true, false, true};
Integer results[ ] = {new integer(3), new integer(5), new integer(8)};
Rate this question:
Compile time
Run time
Both A and B
None of the above
Rate this question:
Inline member function
Non-inline member function
Static member function
Dynamic member function
Rate this question:
It will cause a compile-time error
It will cause a run-time error
It will run without any error and prints 3
It will experience infinite looping
Rate this question:
Undo operation in a text editor
Recursive function calls
Allocating CPU to resources
All of the above mentioned
Rate this question:
255
-1
-255
-127
Rate this question:
O(nlogn)
O(logn)
O(n)
O(1)
Rate this question:
28
64
256
56
Rate this question:
1 and 6
6 and 1
2 and 6
None of the above mentioned
Rate this question:
If (isalnum(c))
If (isalphanum(c))
If (isalphanumeric(c))
None of the above
127
253
361
No limits in number of arguments
Rate this question:
Java.util.map
Java.util.set
Java.util.list
Java.util.collection
Rate this question:
I = 20; i++;
For (i = 0; i
A = i++;
While (i++ = 20) cout
Rate this question:
It prints f2[0] = 0.0
It prints f2[0] = nan
An error at f2 = f1; causes compile to fail.
It prints the garbage value.
Rate this question:
Quiz Review Timeline (Updated): Mar 18, 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.