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)
→
Object Oriented Programming (OOP)
→
The following is the C++ style comment
Q.
The following is the C++ style comment
A.
//
B.
/*..*/
C.
–
D.
none of above
Answer» A. //
1.6k
0
Do you find this helpful?
1
View all MCQs in
Object Oriented Programming (OOP)
Discussion
No comments yet
Login to comment
Related MCQs
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; }
Which of the following operators allow defining the member functions of a class outside the class?
Which one of the following is not a fundamental data type in C++?
Which one of the following is not a valid reserved keyword in C++?
Which of the following can legitimately be passed to a function?
What will be the output of the following program?
Which of the following feature is not supported by C++?
Empty parentheses following a function name in a function prototype indicate that the function does not require any parameters to perform its task.
Which of the following is FALSE about references in C++
What will be the output of following program? #include <iostream> using namespace std; class Test{ public: Test() { cout <<"Hello from Test() "; } } a; int main() { cout <<"Main Started "; return 0; }