Do you like coding of C and C++ and you want to learn more about it? Let's start this quiz and learn!
Using union
Using structure
Using pointers
Using scope resolution
Rate this question:
Reading
Writing
Appending
Read and Write
Rate this question:
!=
=
||
==
Rate this question:
Data hiding
Dynamic Typing
Dynamic binding
Dynamic loading
Rate this question:
Printf("%f %lf", a, b);
Printf("%Lf %f", a, b);
Printf("%Lf %Lf", a, b);
Printf("%f %Lf", a, b);
Rate this question:
reference
Structure
Pointer
Array
Rate this question:
K == 1 is TRUE
1 == 1 is TRUE
1 == 1 is FALSE
K == 1 is FALSE
Rate this question:
Call by value
Call by reference
Default arguments
Call by pointer
Rate this question:
Operator
Function
Object
Macro
Rate this question:
Return type,function name
Return type,function name,parameters
Both a and b
None of the mentioned
Rate this question:
2.5
0
3
2
Rate this question:
Public data members
Private data members
Protected data members
Member functions
Rate this question:
Compile-time error.
Preprocessing error
Runtime error.
Runtime exception
Rate this question:
Char p = *malloc(100);
Char *p = (char) malloc(100);
Char *p = (char*)malloc(100);
Char *p = (char *)(malloc*)(100);
Rate this question:
Auto
Struct
Typedef
Static
Rate this question:
Macro
Record
Interface
None of the mentioned
Rate this question:
1
4
3
2
Rate this question:
F1,f2,f3
F3, f2, f1
Order may vary from compiler to compiler
None of above
Rate this question:
Preprocessor directive
Inclusion directive
File inclusion directive
None of the mentioned
Rate this question:
0
1
2
3
Rate this question:
Value of x is 1.3
Value of x is 2
Value of x is 0.3
Compile time error
Rate this question:
Strcmp(s1, s2) returns a number less than 0 if s1>s2
strcmp(s1, s2) returns a number greater than 0 if s1
Strcmp(s1, s2) returns 0 if s1==s2
Strcmp(s1, s2) returns 1 if s1==s2
Rate this question:
structure
Long
strings
Float
Rate this question:
A reference is stored on heap.
A reference is stored on stack.
A reference is stored in a queue.
A reference is stored in a binary tree.
Rate this question:
Conio.h
Stdlib.h
Stdio.h
Dos.h
Rate this question:
Start()
System()
Main()
Printf()
Rate this question:
-3.4e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
Rate this question:
4 Bytes
8 Bytes
Depends on the system/compiler
Cannot be determined
Rate this question:
0
1
-1
Invalid use of strcmp() function
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.