हेलो स्टूडेंट्स, इस पोस्ट में हम आज c++ language mcq in hindi interview questions बहुविकल्पीय प्रश्न के बारे में पढ़ेंगे | इंटरनेट में C++ भाषा के नोट्स हिंदी में बहुत कम उपलब्ध है, लेकिन हम आपके लिए यह हिंदी में डिटेल्स नोट्स लाये है, जिससे आपको यह टॉपिक बहुत अच्छे से समझ आ जायेगा |
Table of Contents
c++ language MCQ in hindi (सी प्लस प्लस लैंग्वेज बहुविकल्पीय प्रश्न)
मैंने यहाँ पर कुछ महत्वपूर्ण c++ language mcq दिए है जो कि प्रतियोगी परीक्षाओं में बहुत उपयोगी साबित हो सकते हैं तो चलिए पढ़ते है.
Q1. निम्नलिखित प्रकार के class में से केवल एक ऑब्जेक्ट को बनाया जा सकता है,
- virtual class
- abstract class
- singleton class
- friend class
Ans.(c)
Q2. इनमे से कौन सा constructor का प्रकार नही है,
- कॉपी constructor
- friend constructor
- perameterized constructor
- डिफ़ॉल्ट constructor
Ans.(b)
Q3. C++ की खोज किसने की?
- Dennis ritchie
- BJarne Stroustrup
- Microsoft
- James gosling
Ans:- BJarne Stroustrup
Q4 निम्नलिखित में से कौन सा class का सदस्य नही है,
- static function
- friend function
- const function
- virtual function
Ans.(b)
Q5. निम्नलिखित में से कौन सा शब्द किसी class के अंदर निर्धारित फंक्शन के लिए उपयोग किया जाता है,
- member variable
- member फंक्शन
- class फंक्शन
- classic फंक्शन
Ans. (b)
Q6. loop की निम्नलिखित अवधारणा में से कौन सा कम्पाइलर फंक्शन कॉल में argument को शामिल करने की अनुमति देता है,
- call by value
- call by reference
- call by pointer
- default argument
Ans. (d)
Q7. निम्नलिखित में से कौन सा कीवर्ड dynamic method resolution को support करता है?
- Virtual
- Dynamic
- Abstract
- Typeid
Ans:- abstract
Q8. निम्नलिखित में से कौन सा overloading function को सही ढंग से वर्णित करता है,
- virtual polymorphism
- transient polymorphism
- Ad- hoc polymorphism
- pseudo polymorphism
Ans.(c)
Q9. Pointer को एक से ज्यादा बार declare करने से क्या होता है?
- Error
- Null
- Abort
- Trap
Ans:- trap
Q10. निम्नलिखित में से कौन सा कीवर्ड virtual के साथ उपयोग नही किया जा सकता है?
- class
- member फंक्शन
- constructor
- distructor
Ans:- (c)
c++ language MCQ
Q11. निम्न में से inheritance आपको क्या करने की अनुमति देता है
- creat a class
- creat a inheritance of class
- access method
- इनमे से की भी नही
Ans:- (b)
Q12. निम्नलिखिंत में से inheritance के कितने प्रकार है.
- 2
- 4
- 6
- 5
Ans:- (d)
Q13. c++ में कितने प्रकार के constructor होते है.
- 1
- 2
- 3
- 5
Ans:- (c)
Q14. polymorphism का क्या मतलब है
- class having many forms
- class having one single
- class many two forms
- उपरोक्त कोई भी नही
Ans:- (a)
Q15. multiple inhertence का क्या मतलब है
- Deriving a base class from derived class
- Deriving a derived class from base class
- Deriving a derived class from base class
- उपरोक्त कोई भी नही
Ans:-(c)
Also read : c लैंग्वेज तथा c++ लैंग्वेज के मध्य अंतर क्या है? हिंदी में c vs. c++
Q16 निम्न में से multiple inheritance में कौन सा symbol उपयोग होता है ,
- (डॉट) .
- (comma) ,
- $ (dollar)
- इनमे से की नही
Ans:- (b)
Q17 निम्नलिखित में से कौन सा array को declare करता है ,
- int array [10]
- int array;
- array {10};
- array array [10];
Ans:-(a)
Q18. array क्या है,
- array is homogenies data type
- an array is a series of element
- both a & b
- उपरोक्त कोई भी नही
Ans:-(a)
Q19.निम्नलिखित में से inheritance का syntax क्या है ,
- class name
- class name : access speceifer
- class name : access specifer class name
- इनमे से कोई भी नही
Ans :- (c)
Q20. निम्न में से constant को और किस नाम से जाना जाता है ,
- const
- preprocessor
- literal
- उपरोक्त कोई भी नही
Ans: -(c)
c++ language MCQ
Q21 निम्न में से कौन सा literal constant का हिस्सा(part) है ,
- integer numerals
- floating point numerals
- स्ट्रिंग और boolean value
- उपरोक्त सभी
Ans:- (d)
Q22. constant को कैसे declare करते है
- const keyword
- # डिफाइन preprocessor
- both a & b
- इनमे से कोई भी नही
Ans:- (c)
Q23. फंक्शन overloading में parameters को पास करने के कितने तरीके है,
- 1
- 2
- 4
- 3
Ans :- (3)
Q24. हम function overloading का उपयोग कब करते है,
- same function name but defferent number
- defferent name but same number of argument
- same function name but same number of argument
- diferent फंक्शन name but diffrent number of argument
Ans:- (a)
Q25. निम्लिखित में से कौन से ऑपरेटर को higher precedence प्राप्त है ,
- post fix
- unary
- shift
- equality
Ans: – (a)
Q26. निम्न में से ternary operator को और किस नाम से जाना है ,
- conditional operator
- relational
- कास्टिंग ऑपरेटर
- इनमे से कोई नही
Ans: – (a)
Q27. निम्नलिखित में से switch statement को और किस नाम से जाना है ,
- choosing structure
- slective structure
- certain structure
- उपरोक्त कोई भी नही,
Ans: – (b)
Q28. loop के कितने प्रकार होते है,
- 2
- 6
- 4
- 3
Ans:- (c)
Q29. macro कितने प्रकार क होते है
- 6
- 2
- 3
- 5
Ans:- (c)
Q30. निम्नलिखित में से array की सातवीं storage element क्या होगा,
- array [6];
- array [7];
- array [5];
- कोई भी नही
Ans:- (a)
c++ language MCQ
Q31. निम्नलिखित में से classname “fruit” के लिये सही destructor कौन सा है?
- Int ~ fruit()
- Void fruit()
- Int ~ fruit(fruit obj)
- Void ~ fruit()
Ans:- void fruit()
32:- {
int x=5;
int y=10;
Cout << (x>y?x:y);
}
का आउटपुट क्या होगा?
- 5
- 10
- Syntax error
- Logical error
Ans:- 10.
33:- int x=10;
void main ()
{
int x=20;
Cout<<a<<::a;
}
का आउटपुट होगा?
- 10 20
- 20 10
- 20 20
- syntax error
उत्तर:- 20 10
34:- x=(y=5, y+5) में a की वैल्यू होगी.
- junk value
- syntax error
- 5
- 10
उत्तर:- syntax error
35:- मैमोरी में array के लिए स्पेस allocate करने के लिए निम्नलिखित में से किस फंक्शन का प्रयोग किया जाता है?
- calloc()
- malloc()
- realloc()
- दोनों a और b
36:- जब iteration की संख्या पता हो तब निम्नलिखित में से प्रयोग करने के लिये बेस्ट लूपिंग प्रोसेस कौन सी है?
- for
- while
- do while
- इनमें से कोई नहीं.
उत्तर:- do-while
निवेदन:- अगर आपको c++ language MCQ पसंद आये हों तो कमेंट के द्वारा बताइए तथा इसे अपने दोस्तों के साथ share करें.
अपने दोस्तों के साथ share कीजिये.
Related
हम आशा करते है कि यह c++ language mcq in hindi interview questions बहुविकल्पीय प्रश्न के हिंदी में नोट्स आपकी स्टडी में उपयोगी साबित हुए होंगे | अगर आप लोगो को इससे रिलेटेड कोई भी किसी भी प्रकार का डॉउट हो तो कमेंट बॉक्स में कमेंट करके पूंछ सकते है | आप इन्हे अपने Classmates & Friends के साथ शेयर करे |