McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Computer Science Engineering (CSE)
→
Object Oriented Programming (OOP)
→
A variable of type char can hold the val...
Q.
A variable of type char can hold the value 301.
A.
true
B.
false
Answer» B. false
1.2k
0
Do you find this helpful?
13
View all MCQs in
Object Oriented Programming (OOP)
Discussion
No comments yet
Login to comment
Related MCQs
When a function returns a value, the entire function call can appear on the right side of the equal sign and be assigned to another variable.
Which of the following is true about the following program #include <iostream> class Test { public: int i; void get(); }; void Test::get() { std::cout <<"Enter the value of i: "; std::cin >>i; } Test t; // Global object int main() { Test t; // local object t.get(); std::cout <<"value of i in local t: "<<t.i<<'\n'; ::t.get(); std::cout <<"value of i in global t: "<<::t.i<<'\n'; return 0; }
In an assignment statement, the value on the left of the equal sign is always equal to the value on the right.
Which type of class has only one unique value for all the objects of that same class?
A static local variable is used to
Which of the following statements is correct for a static member function? 1. It can access only other static members of its class. It can be called using the class name, instead of objects
When arguments are passed by value, the function works with the original arguments in the calling program.
What is value of size?
What value will be printed for data.i?
Which one of the following is not a fundamental data type in C++?