McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2024
→
Computer Science Engineering (CSE)
→
CPP Programming
→
The value 132.54 can be represented usin...
Q.
The value 132.54 can be represented using which data type?
A.
double
B.
void
C.
int
D.
bool
Answer» A. double
1.9k
0
Do you find this helpful?
2
View all MCQs in
CPP Programming
Discussion
No comments yet
Login to comment
Related MCQs
Which of the following is true about templates? 1) Template is a feature of C++ that allows us to write one code for different data types. 2) We can write one function that can be used for all data types including user defined types. Like sort(), max(), min(), ..etc. 3) We can write one class or struct that can be used for all data types including user defined types. Like Linked List, Stack, Queue,..etc. 4) Template is an example of compile time polymorphism.
How to create a dynamic array of pointers (to integers) of size 10 using new in C++? Hint: We can create a non-dynamic array using int *arr[10]
When a language has the capability to produce new data type mean, it can be called as …...
Which data type is used to represent the absence of parameters?
Which type of data file is analogous to an audio cassette tape?
How can we restrict dynamic allocation of objects of a class using new?
In C++, const qualifier can be applied to 1) Member functions of a class 2) Function arguments 3) To a class data member which is declared as static 4) Reference variables
A member function can always access the data in __________, (in C++).
Which of the following is not correct (in C++)? 1. Class templates and function templates are instantiated in the same way 2. Class templates differ from function templates in the way they are initiated 3. Class template is initiated by defining an object using the template argument 4. Class templates are generally used for storage classes
Output of following program? #include<iostream> using namespace std; class Point { Point() { cout << "Constructor called"; } }; int main() { Point t1; return 0; }