C++
Test
Model Test
Ebook
Index
C++ Home
Basic
31
Input and Output
3
Class and Object
12
OOP
4
Libraries and Namespaces
2
Data Structure
1
Schools
Ebook
Question:
The name of a variable is called an ______.
A
identifier
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is/are not the valid identifier(s)?
A
x
B
x$y
C
_X
D
3X
E
X_Y
F
x_35
G
x.y
H
$x
I
34
Note:
Not available
Show answer
Show Note
Report
Question:
C++ is case-sensitive language.
A
True
B
False
Note:
Not available
Show answer
Show Note
Report
Question:
Predefined identifier are all keywords and reserved words.
A
True
B
False
Note:
Not available
Show answer
Show Note
Report
Question:
Float type of identifier can occupy ______ byte(s) of memory.
A
1
B
2
C
8
D
4
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is not the correct data type in c++?
A
long float
B
long double
C
long int
D
long
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is/are not correct escape sequence(s)?
A
\r
B
\\
C
\'
D
\b
E
\$
F
\?
G
\p
Note:
Not available
Show answer
Show Note
Report
Question:
An automatic conversion of type is sometimes called a type ______.
A
coercion
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following type casting is/are not correct?
A
int a=5;
double b= (double)a;
B
int a=5;
double b= a;
C
int a=5;
double b= double (a);
D
int a=5;
double b= double a;
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following function(s) is/are defined in <iostream>?
A
cin
B
cout
C
cerr
D
printf
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
Next
Last
/6
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd