Skip to content
Menu
O Level Mock Test
O Level Mock Test

Programming Languages

/100
3

1 / 100

What is the result of logical or relational expression in C?

C में तार्किक या संबंधपरक अभिव्यक्ति का परिणाम क्या है?

2 / 100

Which of the following statement is false?

निम्नलिखित में से कौन सा कथन गलत है?

3 / 100

Relational operators cannot be used on ____________

रिलेशनल ऑपरेटर्स का उपयोग ____________ पर नहीं किया जा सकता है

4 / 100

Which of the following operators has the lowest precedence?

निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे कम है?

5 / 100

In C language, FILE is of which data type?

C भाषा में FILE किस डेटा प्रकार का होता है?

6 / 100

What will be the output of the following C code snippet?

निम्नलिखित C कोड स्निपेट का आउटपुट क्या होगा?

  1.     #include 
  2.     void main()
  3.     {
  4.         1 < 2 ? return 1: return 2;
  5.     }

7 / 100

A variable declared in a function can be used in main()

किसी फ़ंक्शन में घोषित वेरिएबल का उपयोग मुख्य() में किया जा सकता है

8 / 100

Which of the following is not a valid C variable name?

निम्नलिखित में से कौन सा वैध C वेरिएबल नाम नहीं है?

9 / 100

What will be the final values of i and j in the following C code?

निम्नलिखित C कोड में i और j का अंतिम मान क्या होगा?

  1. #include 
  2. int x = 0;
  3. int f()
  4. {
  5.     if (x == 0)
  6.         return x + 1;
  7.     else
  8.         return x - 1;
  9. }
  10. int g()
  11. {
  12.     return x++;
  13. }
  14. int main()
  15. {
  16.     int i = (f() + g()) | g(); //bitwise or
  17.     int j = g() | (f() + g()); //bitwise or
  18. }

10 / 100

Which type of conversion is NOT accepted?

किस प्रकार का रूपांतरण स्वीकार नहीं किया जाता है?

11 / 100

All keywords in C are in ____________

C में सभी कीवर्ड ____________ में हैं

12 / 100

What will be the output of the following C code?

  1.     #include 
  2.     int main()
  3.     {
  4.         int y = 10000;
  5.         int y = 34;
  6.         printf("Hello World! %d\n", y);
  7.         return 0;
  8.     }
    
    निम्नलिखित C कोड का आउटपुट क्या होगा?

13 / 100

Can we use a function as a parameter of another function? [Eg: void wow(int func())].

क्या हम किसी फ़ंक्शन को किसी अन्य फ़ंक्शन के पैरामीटर के रूप में उपयोग कर सकते हैं? [उदाहरण: void wow(int func())]।

14 / 100

Functions in C Language are always _________

C भाषा में फ़ंक्शन हमेशा _________ होते हैं

15 / 100

Will the following C code compile without any error?

क्या निम्नलिखित C कोड बिना किसी त्रुटि के संकलित होगा?

  1.     #include 
  2.     int main()
  3.     {
  4.         for (int k = 0; k < 10; k++);
  5.             return 0;
  6.     }

16 / 100

What is an example of iteration in C?

C में पुनरावृत्ति का उदाहरण क्या है?

17 / 100

Which of the following declaration is not supported by C?

निम्नलिखित में से कौन सी घोषणा C द्वारा समर्थित नहीं है?

18 / 100

Which of the following cannot be a variable name in C?

निम्नलिखित में से कौन सा C में एक वेरिएबल नाम नहीं हो सकता है?

19 / 100

Which of the following return-type cannot be used for a function in C?

निम्नलिखित में से कौन सा रिटर्न-प्रकार C में किसी फ़ंक्शन के लिए उपयोग नहीं किया जा सकता है?

20 / 100

Which of the following is an invalid if-else statement?

निम्नलिखित में से कौन सा यदि-अन्यथा कथन अमान्य है?

21 / 100

Which of the following method is accepted for assignment?

असाइनमेंट के लिए निम्नलिखित में से कौन सी विधि स्वीकार की जाती है?

22 / 100

Which of the following is NOT possible with any 2 operators in C?

C में किन्हीं दो ऑपरेटरों के साथ निम्नलिखित में से कौन सा संभव नहीं है?

23 / 100

Associativity of an operator is ___________

एक ऑपरेटर की सहयोगीता ___________ है

24 / 100

Where in C the order of precedence of operators do not exist?

सी में कहां ऑपरेटरों की प्राथमिकता का क्रम मौजूद नहीं है?

25 / 100

Which of the following declaration is illegal?

निम्नलिखित में से कौन सी घोषणा अवैध है?

26 / 100

What will be the output of the following C code considering the size of a short int is 2, char is 1 and int is 4 bytes?

निम्नलिखित C कोड का आउटपुट क्या होगा, यह देखते हुए कि एक छोटे int का आकार 2 है, char का 1 है और int का 4 बाइट्स है?

  1.     #include 
  2.     int main()
  3.     {
  4.         short int i = 20;
  5.         char c = 97;
  6.         printf("%d, %d, %d\n", sizeof(i), sizeof(c), sizeof(c + i));
  7.         return 0;
  8.     }

27 / 100

Are logical operator sequence points?

क्या तार्किक संचालिका अनुक्रम बिंदु हैं?

28 / 100

The C-preprocessors are specified with _________ symbol.

C-प्रीप्रोसेसरों को _________ प्रतीक के साथ निर्दिष्ट किया जाता है।

29 / 100

The standard header _______ is used for variable list arguments (…) in C.

मानक हेडर _______ का उपयोग C में परिवर्तनीय सूची तर्कों (...) के लिए किया जाता है।

30 / 100

Which of the following are C preprocessors?

निम्नलिखित में से कौन सी प्रीप्रोसेसर हैं?

31 / 100

What will be the output of the following C function?

  1.     #include 
  2.     enum birds {SPARROW, PEACOCK, PARROT};
  3.     enum animals {TIGER = 8, LION, RABBIT, ZEBRA};
  4.     int main()
  5.     {
  6.         enum birds m = TIGER;
  7.         int k;
  8.         k = m;
  9.         printf("%d\n", k);
  10.         return 0;
  11.     }
    निम्नलिखित C फ़ंक्शन का आउटपुट क्या होगा?
    

32 / 100

enum types are processed by _________

एनम प्रकार को _________ द्वारा संसाधित किया जाता है

33 / 100

Operation “a = a * b + a” can also be written as ___________

ऑपरेशन "ए = ए * बी + ए" को ___________ के रूप में भी लिखा जा सकता है

34 / 100

Which of the following typecasting is accepted by C language?

निम्नलिखित में से कौन सी टाइपकास्टिंग C भाषा द्वारा स्वीकार की जाती है?

35 / 100

C preprocessors can have compiler specific features.

सी प्रीप्रोसेसर में कंपाइलर विशिष्ट विशेषताएं हो सकती हैं।

36 / 100

Which of the following statement is false?

निम्नलिखित में से कौन सा कथन गलत है?

37 / 100

Which of the following type-casting have chances for wrap around?

निम्नलिखित में से किस टाइप-कास्टिंग में रैप अराउंड की संभावना होती है?

38 / 100

Which of the following is not possible statically in C language?

निम्नलिखित में से क्या C भाषा में स्थिर रूप से संभव नहीं है?

39 / 100

Which keyword is used to prevent any changes in the variable within a C program?

C प्रोग्राम में वेरिएबल में किसी भी बदलाव को रोकने के लिए किस कीवर्ड का उपयोग किया जाता है?

40 / 100

Which of the following is not an operator in C?

निम्नलिखित में से कौन सा C में ऑपरेटर नहीं है?

41 / 100

Which keyword can be used for coming out of recursion?

रिकर्सन से बाहर आने के लिए किस कीवर्ड का उपयोग किया जा सकता है?

42 / 100

What is the result of logical or relational expression in C?

C में तार्किक या संबंधपरक अभिव्यक्ति का परिणाम क्या है?

43 / 100

Which is valid C expression?

वैध C अभिव्यक्ति कौन सी है?

44 / 100

Which of the following is an invalid assignment operator?

निम्नलिखित में से कौन सा अमान्य असाइनमेंट ऑपरेटर है?

45 / 100

What will be the output of the following C function?

निम्नलिखित C फ़ंक्शन का आउटपुट क्या होगा?

  1.     #include 
  2.     void reverse(int i);
  3.     int main()
  4.     {
  5.         reverse(1);
  6.     }
  7.     void reverse(int i)
  8.     {
  9.         if (i > 5)
  10.             return ;
  11.         printf("%d ", i);
  12.         return reverse((i++, i));
  13.     }

46 / 100

How is search done in #include and #include “somelibrary.h” according to C standard?

C मानक के अनुसार #include और #include "somelibrary.h" में खोज कैसे की जाती है?

47 / 100

What will be the output of the following C code?

  1.     #include  
  2.     int main()
  3.     {
  4.        signed char chr;
  5.        chr = 128;
  6.        printf("%d\n", chr);
  7.        return 0;
  8.     }
    
    निम्नलिखित C कोड का आउटपुट क्या होगा?
    

48 / 100

Who is the father of C language?

C भाषा का जनक कौन है?

49 / 100

The C code ‘for(;;)’ represents an infinite loop. It can be terminated by ___________

C कोड 'for(;;)' एक अनंत लूप का प्रतिनिधित्व करता है। इसे ___________ द्वारा समाप्त किया जा सकता है

50 / 100

Which of the following data type will throw an error on modulus operation(%)?

निम्नलिखित में से कौन सा डेटा प्रकार मॉड्यूलस ऑपरेशन (%) पर त्रुटि देगा?

51 / 100

When do you need to use type-conversions?

आपको प्रकार-रूपांतरण का उपयोग करने की आवश्यकता कब होती है?

52 / 100

Which of following is not accepted in C?

निम्नलिखित में से कौन सा C में स्वीकार नहीं किया जाता है?

53 / 100

function tolower(c) defined in library works for ___________

लाइब्रेरी में परिभाषित फ़ंक्शन tolower(c) ___________ के लिए काम करता है

54 / 100

Which of the following declaration is not supported by C language?

निम्नलिखित में से कौन सी घोषणा C भाषा द्वारा समर्थित नहीं है?

55 / 100

What will be the output of the following C code on a 64 bit machine?

  1.     #include 
  2.     union Sti
  3.     {
  4.         int nu;
  5.         char m;
  6.     };
  7.     int main()
  8.     {
  9.         union Sti s;
  10.         printf("%d", sizeof(s));
  11.         return 0;
  12.     }
    64 बिट मशीन पर निम्नलिखित C कोड का आउटपुट क्या होगा?
    

56 / 100

When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?

जब कोई C प्रोग्राम प्रारंभ किया जाता है, तो O.S वातावरण फ़ाइल खोलने और उस फ़ाइल के लिए पॉइंटर प्रदान करने के लिए जिम्मेदार होता है?

57 / 100

Which of the following is a correct format for declaration of function?

निम्नलिखित में से कौन सा फ़ंक्शन की घोषणा के लिए सही प्रारूप है?

58 / 100

Which of the following cannot be used as LHS of the expression in for (exp1;exp2; exp3)?

निम्नलिखित में से किसको (exp1;exp2; exp3) के लिए अभिव्यक्ति के LHS के रूप में उपयोग नहीं किया जा सकता है?

59 / 100

What is an example of iteration in C?

C में पुनरावृत्ति का उदाहरण क्या है?

60 / 100

Property which allows to produce different executable for different platforms in C is called?

वह संपत्ति जो C में विभिन्न प्लेटफार्मों के लिए अलग-अलग निष्पादन योग्य बनाने की अनुमति देती है, कहलाती है?

61 / 100

The keyword ‘break’ cannot be simply used within _________

कीवर्ड 'ब्रेक' का उपयोग केवल _________ के भीतर नहीं किया जा सकता है

62 / 100

What will happen if the following C code is executed?

  1.     #include 
  2.     int main()
  3.     {
  4.         int main = 3;
  5.         printf("%d", main);
  6.         return 0;
  7.     }
    
    निम्नलिखित C कोड का आउटपुट क्या होगा?
    

63 / 100

Do logical operators in the C language are evaluated with the short circuit?

क्या सी भाषा में लॉजिकल ऑपरेटरों का मूल्यांकन शॉर्ट सर्किट से किया जाता है?

64 / 100

What will be the output of the following C code?

निम्नलिखित C कोड का आउटपुट क्या होगा?

  1.     #include 
  2.     int const print()
  3.     {
  4.         printf("Sanfoundry.com");
  5.         return 0;
  6.     }
  7.     void main()
  8.     {
  9.         print();
  10.     }
    
    

65 / 100

How many number of pointer (*) does C have against a pointer variable declaration?

C के पास पॉइंटर वेरिएबल घोषणा के विरुद्ध पॉइंटर (*) की कितनी संख्या है?

66 / 100

What is the difference between the following 2 C codes?

निम्नलिखित 2 सी कोड के बीच क्या अंतर है?

  1.     #include  //Program 1
  2.     int main()
  3.     {
  4.         int d, a = 1, b = 2;
  5.         d =  a++ + ++b;
  6.         printf("%d %d %d", d, a, b);
  7.     }
  1.     #include  //Program 2
  2.     int main()
  3.     {
  4.         int d, a = 1, b = 2;
  5.         d =  a++ +++b;
  6.         printf("%d %d %d", d, a, b);
  7.     }

67 / 100

Which among the following is NOT a logical or relational operator?

निम्नलिखित में से कौन सा एक तार्किक या संबंधपरक ऑपरेटर नहीं है?

68 / 100

Which among the following are the fundamental arithmetic operators, i.e, performing the desired operation can be done using that operator only?

निम्नलिखित में से कौन सा मौलिक अंकगणितीय ऑपरेटर है, अर्थात, वांछित ऑपरेशन केवल उस ऑपरेटर का उपयोग करके किया जा सकता है?

69 / 100

Which of the following is a ternary operator?

निम्नलिखित में से कौन टर्नरी ऑपरेटर है?

70 / 100

For which of the following, “PI++;” code will fail?

निम्नलिखित में से किसके लिए, "PI++;" कोड विफल हो जाएगा?

71 / 100

Which of the following is not a pointer declaration?

निम्नलिखित में से कौन सूचक घोषणा नहीं है?

72 / 100

The name of the variable used in one function cannot be used in another function.

एक फ़ंक्शन में प्रयुक्त वेरिएबल का नाम दूसरे फ़ंक्शन में उपयोग नहीं किया जा सकता है।

73 / 100

Which keyword is used to come out of a loop only for that iteration?

केवल उस पुनरावृत्ति के लिए लूप से बाहर आने के लिए किस कीवर्ड का उपयोग किया जाता है?

74 / 100

Which datatype can accept the switch statement?

कौन सा डेटाटाइप स्विच स्टेटमेंट को स्वीकार कर सकता है?

75 / 100

Which of the following is not an arithmetic operation?

निम्नलिखित में से कौन सा एक अंकगणितीय संक्रिया नहीं है?

76 / 100

What is meant by ‘a’ in the following C operation?

fp = fopen("Random.txt", "a");

निम्नलिखित C ऑपरेशन में 'a' का क्या अर्थ है?

fp = fopen('Random.txt', 'a');

 

77 / 100

Which for loop has range of similar indexes of ‘i’ used in for (i = 0;i < n; i++)? लूप के लिए किसमें (i = 0;i < n; i++) के लिए उपयोग किए जाने वाले 'i' के समान इंडेक्स की सीमा होती है?

78 / 100

scanf() is a predefined function in______header file.

scanf() ______हेडर फ़ाइल में एक पूर्वनिर्धारित फ़ंक्शन है।

79 / 100

Which of the following operator has the highest precedence in the following?

निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे अधिक है?

80 / 100

Which of the following operators has an associativity from Right to Left?

निम्नलिखित में से किस ऑपरेटर की संबद्धता दाएं से बाएं है?

81 / 100

What will be the value of the following assignment expression?

निम्नलिखित असाइनमेंट अभिव्यक्ति का मूल्य क्या होगा?

 (x = foo())!= 1 considering foo() returns 2

82 / 100

Which loop is most suitable to first perform the operation and then test the condition?

पहले ऑपरेशन करने और फिर स्थिति का परीक्षण करने के लिए कौन सा लूप सबसे उपयुक्त है?

83 / 100

What is short int in C programming?

C प्रोग्रामिंग में शॉर्ट इंट क्या है?

84 / 100

Which of the following is NOT possible with any 2 operators in C?

C में किन्हीं दो ऑपरेटरों के साथ निम्नलिखित में से कौन सा संभव नहीं है?

85 / 100

Functions can return enumeration constants in C?

फ़ंक्शंस C में गणना स्थिरांक लौटा सकते हैं?

86 / 100

What will be the output of the following C function when EOF returns?

EOF के वापस आने पर निम्नलिखित C फ़ंक्शन का आउटपुट क्या होगा?

   int fputs(char *line, FILE *fp)

87 / 100

What is the precedence of arithmetic operators (from highest to lowest)?

अंकगणितीय ऑपरेटरों की प्राथमिकता क्या है (उच्चतम से निम्नतम तक)?

88 / 100

In expression i = g() + f(), first function called depends on __________

अभिव्यक्ति i = g() + f() में, बुलाया गया पहला फ़ंक्शन __________ पर निर्भर करता है

89 / 100

Which of the following function declaration is illegal?

निम्नलिखित में से कौन सा फ़ंक्शन घोषणा अवैध है?

90 / 100

What will be the final value of x in the following C code?

निम्नलिखित C कोड में x का अंतिम मान क्या होगा?

  1.     #include 
  2.     void main()
  3.     {
  4.         int x = 5 * 9 / 3 + 9;
  5.     }

91 / 100

Where in C the order of precedence of operators do not exist?

सी में कहां ऑपरेटरों की प्राथमिकता का क्रम मौजूद नहीं है?

92 / 100

How many times i value is checked in the following C program?

निम्नलिखित C प्रोग्राम में i वैल्यू को कितनी बार चेक किया जाता है?

  1.     #include 
  2.     int main()
  3.     {
  4.         int i = 0;
  5.         while (i < 3)
  6.             i++;
  7.         printf("In while loop\n");
  8.     }

93 / 100

Which of the following is true for variable names in C?

C में वेरिएबल नामों के लिए निम्नलिखित में से कौन सा सत्य है?

94 / 100

What is #include ?

#include क्या है?

95 / 100

When double is converted to float, then the value is?

जब डबल को फ्लोट में परिवर्तित किया जाता है, तो मान क्या होता है?

96 / 100

What will be the output of the following C code? (Initial values: x= 7, y = 8)

निम्नलिखित C कोड का आउटपुट क्या होगा? (प्रारंभिक मान: x= 7, y = 8)

  1.     #include 
  2.     void main()
  3.     {
  4.         float x;
  5.         int y;
  6.         printf("enter two numbers \n");
  7.         scanf("%f %f", &x, &y);
  8.         printf("%f, %d", x, y);
  9.     }

97 / 100

goto can be used to jump from main() to within a function.

गोटो का उपयोग मुख्य() से किसी फ़ंक्शन के भीतर जाने के लिए किया जा सकता है।

98 / 100

Which keyword is used to prevent any changes in the variable within a C program?

C प्रोग्राम में वेरिएबल में किसी भी बदलाव को रोकने के लिए किस कीवर्ड का उपयोग किया जाता है?

99 / 100

Which of the following are unary operators?

निम्नलिखित में से कौन यूनरी ऑपरेटर हैं?

100 / 100

What is the sizeof(char) in a 32-bit C compiler?

32-बिट सी कंपाइलर में साइज़ऑफ़ (चार) क्या है?

Your score is

LinkedIn Facebook Twitter VKontakte
0%


/100
0

1 / 100

What is the maximum number of arguments or parameters that can be present in one function call?

एक फ़ंक्शन कॉल में अधिकतम कितने तर्क या पैरामीटर मौजूद हो सकते हैं?

2 / 100

Which of the following is a correct identifier in C++?

C++ में निम्नलिखित में से कौन सा सही पहचानकर्ता है?

3 / 100

Which of the following feature is not provided by C?

निम्नलिखित में से कौन सी सुविधा C द्वारा प्रदान नहीं की गई है?

4 / 100

Which of the following is not one of the sizes of the floating point types?

निम्नलिखित में से कौन सा फ़्लोटिंग पॉइंट प्रकार के आकारों में से एक नहीं है?

5 / 100

If the user did not supply the value, what value will it take?

यदि उपयोगकर्ता ने मूल्य की आपूर्ति नहीं की, तो वह क्या मूल्य लेगा?

6 / 100

Which of the following type is provided by C++ but not C?

निम्नलिखित में से कौन सा प्रकार C++ द्वारा प्रदान किया जाता है लेकिन C द्वारा नहीं?

7 / 100

Which of the following class allows to declare only one object of it?

निम्नलिखित में से कौन सा वर्ग अपने केवल एक ऑब्जेक्ट को घोषित करने की अनुमति देता है?

8 / 100

The size of an object or a type can be determined using which operator?

किसी वस्तु या प्रकार का आकार किस ऑपरेटर का उपयोग करके निर्धारित किया जा सकता है?

9 / 100

How are the constants declared?

स्थिरांक कैसे घोषित किये जाते हैं?

10 / 100

Who created C++?

C++ किसने बनाया?

11 / 100

Which type is best suited to represent the logical values?

तार्किक मानों को दर्शाने के लिए कौन सा प्रकार सबसे उपयुक्त है?

12 / 100

What is the other name of compile-time polymorphism?

संकलन-समय बहुरूपता का दूसरा नाम क्या है?

13 / 100

Which of the following supports the concept that reusability is a desirable feature of a language?

निम्नलिखित में से कौन इस अवधारणा का समर्थन करता है कि पुन: प्रयोज्यता किसी भाषा की एक वांछनीय विशेषता है?

14 / 100

______________ have the return type void.

______________ में रिटर्न प्रकार शून्य है।

15 / 100

What happens if a class does not have a name?

यदि किसी वर्ग का कोई नाम नहीं है तो क्या होगा?

16 / 100

How many types of returning values are present in c++?

C++ में कितने प्रकार के रिटर्निंग मान मौजूद हैं?

17 / 100

Size of C++ objects are expressed in terms of multiples of the size of a ____ and the size of a char is _______

C++ ऑब्जेक्ट का आकार ____ के आकार के गुणकों के रूप में व्यक्त किया जाता है और एक चार का आकार _______ होता है

18 / 100

Which value can we not assign to reference?

हम संदर्भ को कौन सा मान निर्दिष्ट नहीं कर सकते?

19 / 100

Where does the execution of the program starts?

प्रोग्राम का निष्पादन कहाँ से प्रारंभ होता है?

20 / 100

Which concept means the addition of new components to a program as it runs?

किस अवधारणा का अर्थ किसी प्रोग्राम के चलते समय उसमें नए घटकों को जोड़ना है?

21 / 100

In which type do the enumerators are stored by the compiler?

कंपाइलर द्वारा प्रगणकों को किस प्रकार में संग्रहित किया जाता है?

22 / 100

A void pointer cannot point to which of these?

एक शून्य सूचक इनमें से किसकी ओर इंगित नहीं कर सकता?

23 / 100

The switch statement is also called as?

स्विच स्टेटमेंट को और क्या कहा जाता है?

24 / 100

The constants are also called as _____________

स्थिरांकों को _____________ भी कहा जाता है

25 / 100

The void pointer can point to which type of objects?

शून्य सूचक किस प्रकार की वस्तुओं को इंगित कर सकता है?

26 / 100

C++ is ______________

C++ ______________ है

27 / 100

Implementation dependent aspects about an implementation can be found in ____

कार्यान्वयन के बारे में कार्यान्वयन पर निर्भर पहलुओं को ____ में पाया जा सकता है

28 / 100

What does polymorphism in OOPs mean?

OOPs में बहुरूपता का क्या अर्थ है?

29 / 100

What type of comments does c++ support?

C++ किस प्रकार की टिप्पणियों का समर्थन करता है?

30 / 100

Which of the following is a properly defined structure?

निम्नलिखित में से कौन सी उचित रूप से परिभाषित संरचना है?

31 / 100

What will happen when we use void in argument passing?

जब हम तर्क पारित करने में शून्य का उपयोग करेंगे तो क्या होगा?

32 / 100

0946, 786427373824, ‘x’ and 0X2f are _____ _____ ____ and _____ literals respectively.

0946, 786427373824, 'x' और 0X2f क्रमशः _____ _____ ____ और _____ अक्षर हैं।

33 / 100

What is the correct definition of an array?

किसी सारणी की सही परिभाषा क्या है?

34 / 100

Which concept is used to implement late binding?

लेट बाइंडिंग को लागू करने के लिए किस अवधारणा का उपयोग किया जाता है?

35 / 100

What is std in C++?

C++ में std क्या है?

36 / 100

What is the size of a character literal in C and C++?

C और C++ में अक्षरशः अक्षर का आकार क्या है?

37 / 100

Which is used to keep the call by reference value as intact?

कॉल बाय रेफरेंस वैल्यू को बरकरार रखने के लिए किसका उपयोग किया जाता है?

38 / 100

What will happen when the structure is declared?

संरचना घोषित होने पर क्या होगा?

39 / 100

Which of the following approach is used by C++?

निम्नलिखित में से कौन सा दृष्टिकोण C++ द्वारा उपयोग किया जाता है?

40 / 100

Which value will it take when both user and default values are given?

जब उपयोगकर्ता और डिफ़ॉल्ट दोनों मान दिए जाएंगे तो यह कौन सा मान लेगा?

41 / 100

Which of the following permits function overloading on c++?

निम्नलिखित में से कौन सा परमिट c++ पर ओवरलोडिंग कार्य करता है?

42 / 100

Is bool a fundamental data type in C++?

क्या बूल C++ में एक मौलिक डेटा प्रकार है?

43 / 100

Which of the following accesses the seventh element stored in array?

निम्नलिखित में से कौन ऐरे में संग्रहीत सातवें तत्व तक पहुँचता है?

44 / 100

Which of the following is a valid floating-point literal?

निम्नलिखित में से कौन सा वैध फ़्लोटिंग-पॉइंट शाब्दिक है?

45 / 100

Which header file is used to pass unknown number of arguments to function?

कार्य करने के लिए अज्ञात संख्या में तर्क पारित करने के लिए किस हेडर फ़ाइल का उपयोग किया जाता है?

46 / 100

When a language has the capability to produce new data type mean, it can be called as

जब किसी भाषा में नए डेटा प्रकार का माध्य उत्पन्न करने की क्षमता होती है, तो इसे कहा जा सकता है

47 / 100

Which members are inherited but are not accessible in any case?

कौन से सदस्य विरासत में मिले हैं लेकिन किसी भी मामले में पहुंच योग्य नहीं हैं?

48 / 100

Function overloading is also similar to which of the following?

फंक्शन ओवरलोडिंग भी निम्नलिखित में से किसके समान है?

49 / 100

Which concept allows you to reuse the written code?

कौन सी अवधारणा आपको लिखित कोड का पुन: उपयोग करने की अनुमति देती है?

50 / 100

Which of the following belongs to the set of character types?

निम्नलिखित में से कौन सा चरित्र प्रकारों के समूह से संबंधित है?

51 / 100

Which of the following will not return a value?

निम्नलिखित में से कौन सा मान वापस नहीं करेगा?

52 / 100

It is guaranteed that a ____ has at least 8 bits and a ____ has at least 16 bits.

यह गारंटी है कि ____ में कम से कम 8 बिट्स हैं और ____ में कम से कम 16 बिट्स हैं।

53 / 100

Which of the following correctly declares an array?

निम्नलिखित में से कौन सा एक ऐरे को सही ढंग से घोषित करता है?

54 / 100

In which of the following we cannot overload the function?

निम्नलिखित में से किसमें हम फ़ंक्शन को ओवरलोड नहीं कर सकते?

55 / 100

The if..else statement can be replaced by which operator?

यदि..अन्यथा कथन को किस ऑपरेटर द्वारा प्रतिस्थापित किया जा सकता है?

56 / 100

The data elements in the structure are also known as what?

संरचना में डेटा तत्वों को किस नाम से भी जाना जाता है?

57 / 100

When will we use the function overloading?

हम फ़ंक्शन ओवरलोडिंग का उपयोग कब करेंगे?

58 / 100

What are mandatory parts in the function declaration?

फ़ंक्शन घोषणा में अनिवार्य भाग क्या हैं?

59 / 100

How can you access the arguments that are manipulated in the function?

आप फ़ंक्शन में हेरफेर किए गए तर्कों तक कैसे पहुंच सकते हैं?

60 / 100

Which of the following is accessed by a member function of a class?

किसी वर्ग के सदस्य फ़ंक्शन द्वारा निम्नलिखित में से किस तक पहुंच बनाई जाती है?

61 / 100

Which is correct with respect to the size of the data types?

डेटा प्रकारों के आकार के संबंध में कौन सा सही है?

62 / 100

In C++, what is the sign of character data type by default?

C++ में, डिफ़ॉल्ट रूप से कैरेक्टर डेटा प्रकार का चिन्ह क्या है?

63 / 100

What happens when a null pointer is converted into bool?

क्या होता है जब एक शून्य सूचक को बूल में परिवर्तित किया जाता है?

64 / 100

Where can the default parameter be placed by the user?

उपयोगकर्ता द्वारा डिफ़ॉल्ट पैरामीटर कहाँ रखा जा सकता है?

65 / 100

Which of the following is correct in C++?

C++ में निम्नलिखित में से कौन सा सही है?

66 / 100

If we start our function call with default arguments means, what will be proceeding arguments?

यदि हम अपना फ़ंक्शन कॉल डिफ़ॉल्ट तर्कों के साथ शुरू करते हैं, तो आगे बढ़ने वाले तर्क क्या होंगे?

67 / 100

Which of the following is an exit-controlled loop?

निम्नलिखित में से कौन सा निकास-नियंत्रित लूप है?

68 / 100

Which looping process is best used when the number of iterations is known?

जब पुनरावृत्तियों की संख्या ज्ञात हो तो कौन सी लूपिंग प्रक्रिया का सबसे अच्छा उपयोग किया जाता है?

69 / 100

Which operator is having the right to left associativity in the following?

निम्नलिखित में किस ऑपरेटर के पास दाएँ से बाएँ संबद्धता है?

70 / 100

Where does the return statement returns the execution of the program?

रिटर्न स्टेटमेंट प्रोग्राम के निष्पादन को कहां लौटाता है?

71 / 100

Identify the user-defined types from the following?

निम्नलिखित में से उपयोगकर्ता-परिभाषित प्रकारों को पहचानें?

72 / 100

Which of the following is C++ equivalent for scanf()?

निम्नलिखित में से कौन सा C++ scanf() के लिए समतुल्य है?

73 / 100

What are the references in C++?

C++ में संदर्भ क्या हैं?

74 / 100

What is the size of a boolean variable in C++?

C++ में बूलियन वैरिएबल का आकार क्या है?

75 / 100

Which of the following is an abstract data type?

निम्नलिखित में से कौन सा एक अमूर्त डेटा प्रकार है?

76 / 100

Which of the following syntax can be used to use a member of a namespace without including that namespace?

किसी नेमस्पेस के सदस्य का उपयोग उस नेमस्पेस को शामिल किए बिना करने के लिए निम्नलिखित में से किस सिंटैक्स का उपयोग किया जा सकता है?

77 / 100

What does ‘\a’ escape code represent?

'\a' एस्केप कोड क्या दर्शाता है?

78 / 100

Which variable does equals in size with enum variable?

कौन सा वेरिएबल एनम वेरिएबल के आकार के बराबर है?

79 / 100

Which of the following accesses a variable in structure *b?

निम्नलिखित में से कौन संरचना *बी में एक चर तक पहुंचता है?

80 / 100

Which of the following statement is not true about preprocessor directives?

प्रीप्रोसेसर निर्देशों के बारे में निम्नलिखित में से कौन सा कथन सत्य नहीं है?

81 / 100

Which of the following cannot be used with the virtual keyword?

निम्नलिखित में से किसका उपयोग वर्चुअल कीवर्ड के साथ नहीं किया जा सकता है?

82 / 100

What should be passed in parameters when function does not require any parameters?

जब फ़ंक्शन को किसी पैरामीटर की आवश्यकता नहीं होती है तो पैरामीटर में क्या पारित किया जाना चाहिए?

83 / 100

The declaration of the structure is also called as?

संरचना की घोषणा को और क्या कहा जाता है?

84 / 100

How to declare a wide character in the string literal?

स्ट्रिंग शाब्दिक में विस्तृत वर्ण कैसे घोषित करें?

85 / 100

What we can’t do on a void pointer?

हम शून्य सूचक पर क्या नहीं कर सकते?

86 / 100

The pointer can point to any variable that is not declared with which of these?

सूचक किसी भी वेरिएबल को इंगित कर सकता है जो इनमें से किसके साथ घोषित नहीं किया गया है?

87 / 100

What is the size of wchar_t in C++?

C++ में wchar_t का आकार क्या है?

88 / 100

By default how the value are passed in c++?

डिफ़ॉल्ट रूप से c++ में मान कैसे पारित किए जाते हैं?

89 / 100

Which operator is having the highest precedence?

किस ऑपरेटर को सर्वोच्च प्राथमिकता प्राप्त है?

90 / 100

What are the actual parameters in C++?

C++ में वास्तविक पैरामीटर क्या हैं?

91 / 100

Can two functions declare variables(non static) with the same name?

क्या दो फ़ंक्शन एक ही नाम से वेरिएबल (गैर स्थैतिक) घोषित कर सकते हैं?

92 / 100

Pick the correct statement about references.

सन्दर्भों के बारे में सही कथन चुनें।

93 / 100

Which of the following is a static polymorphism mechanism?

निम्नलिखित में से कौन सा एक स्थैतिक बहुरूपता तंत्र है?

94 / 100

Why this pointer is used?

इस सूचक का उपयोग क्यों किया जाता है?

95 / 100

What constant defined in header returns the number of bits in a char?

हेडर में परिभाषित कौन सा स्थिरांक एक चार में बिट्स की संख्या लौटाता है?

96 / 100

To which of these enumerators can be assigned?

इनमें से किसे प्रगणक नियुक्त किया जा सकता है?

97 / 100

Which of the following cannot be a friend?

निम्नलिखित में से कौन मित्र नहीं हो सकता?

98 / 100

Which of three sizes of floating point types should be used when extended precision is required?

विस्तारित परिशुद्धता की आवश्यकता होने पर फ्लोटिंग पॉइंट प्रकार के तीन आकारों में से किसका उपयोग किया जाना चाहिए?

99 / 100

Which of the following operator has left to right associativity?

निम्नलिखित में से किस ऑपरेटर में बाएँ से दाएँ साहचर्य है?

100 / 100

Which of the following is the correct syntax of including a user defined header files in C++?

C++ में उपयोगकर्ता परिभाषित हेडर फ़ाइलों को शामिल करने के लिए निम्नलिखित में से कौन सा सही सिंटैक्स है?

Your score is

LinkedIn Facebook Twitter VKontakte
0%

Categories

  • Business
  • Education
  • Life Fun
  • Technology

Follow Us

Follow us on Facebook Subscribe us on Youtube Follow us on Instagram Contact us on WhatsApp

Recent Posts

  • CCC-8
  • Here are 10 points that you can follow to protect your job from being taken over by AI:
  • What is the Future of Ai
  • Latest or Future Education Trends
  • Best career options in 2023

Categories

  • Business
  • Education
  • Life Fun
  • Technology

Archives

  • November 2024
  • April 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • June 2022
©2025 O Level Mock Test | Powered by WordPress and Superb Themes!