MCQs on C++
Raj. Informatics Assistant 2011
C++ मूल रूप से किसके द्वारा विकसित किया गया था?
C++ was originally developed by
[A] Nicolas Wirth
[B] Donalt Knuth
[C] Bjarni Stroustrup
[D] Ken Thompson
Correct Answer : Bjarni Stroustrup
कीवर्ड friend प्रकट नहीं होता है
The keyword friend does not appear in
[A] The class allowing access to another class.
[B] The class desiring access to another class.
[C] The private section of a class.
[D] The public section of a class.
Correct Answer : The private section of a class.
UPPCL AE CS 2016
वह ऑपरेटर जिसे ओवरलोड नहीं किया जा सकता है
The operator that cannot be overloaded is
[A] %
[B] ::
[C] +
[D] -
Correct Answer : ::
बिना पैरामीटर वाले कंस्ट्रक्टर को क्या कहा जाता है?
The constructor without parameter is called?
[A] Method Constructor
[B] Default Constructor
[C] Operator Constructor
[D] Function Constructor
Correct Answer : Default Constructor
__________ एक विशेष विधि है जिसका उपयोग किसी वर्ग के इंस्टेंस वेरिएबल को प्रारंभ करने के लिए किया जाता है।
A __________ is a special method used to initialize the instance variable of a class.
[A] Member function
[B] Destructor
[C] Constructor
[D] Structure
Correct Answer : Constructor
Rajasthan Informatics Assistant 2011
C++ में, एक class के भीतर निहित एक फ़ंक्शन है:
In C++ , a function contained within a class is :
[A] A member function
[B] An operator
[C] A class function
[D] A method
Correct Answer : A member function