×
Login Or SignUp
Privacy Policy
Terms Of Service
freetests4u.com
Online Knowledge Sharing Platform
Login/SignUp
freetests4u.com
Blogs
Mock Tests
Video Lectures
31 .
What is the output of this program ?
#include <`stdio.h`> (Please neglect `` this signs)
using namespace std;
int main()
{
int x = 5, y = 5;
cout << ++x << --y << endl;
return 0;
}
A.
45
B.
54
C.
60
D.
64
View Answer
Ans: 64
32 .
Which of the following is not one of the sizes of the floating point types ?
A.
short float
B.
float
C.
long double
D.
double
View Answer
Ans: short float
33 .
How many types are there in increment/decrement operator ?
A.
1
B.
2
C.
3
D.
4
View Answer
Ans: 2
34 .
To which type does the numeric limits are suitable ?
A.
Character types
B.
Mixed type
C.
Arithmetic types
D.
None of the mentioned
View Answer
Ans: Arithmetic types
35 .
Where does the member should be defined if it is used in the program ?
A.
Namespace scope
B.
Character scope
C.
Both a & b
D.
None of the mentioned
View Answer
Ans: Namespace scope
1
2
3
4
5
6
7
8
9
10