नमस्ते · Hello

विद्याधनं सर्वधनप्रधानम्।

सबै धनमध्ये विद्यारूपी धन नै प्रमुख हो।

Of all wealth, the wealth of learning is the greatest.

…

कम्प्युटर र सूचना प्रविधि (प्राविधिक)

कम्प्युटर र सूचना प्रविधि (प्राविधिक)

Computer & IT (Technical) · ५,०७६ प्रश्न

५,०७६ प्रश्न उपलब्ध। मोड छान्नुहोस्:

कम्प्युटर र IT: प्रश्न र उत्तर

सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।

  1. What is printed by the C++ code: map<char, int> m; for (char c : string("banana")) m[c]++; cout << m['a'] << m.size(); ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  2. What is printed by the C++ code: vector<int> v = {5, 3, 8, 1}; sort(v.begin(), v.end()); cout << v[1] << v.back(); ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  3. In C++, B has a virtual destructor printing "B", and D : B has a destructor printing "D". What is printed by: B *p = new D; delete p; ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  4. In C++, class A prints "1" in its constructor and "2" in its destructor. What is printed by main() { A *p = new A; delete p; A x; } ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  5. What is printed by the C++ code: int a = 5; int &r = a; int b = r; b++; cout << a << b; ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  6. When a continue statement is executed inside a C do-while loop, control passes to:

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  7. Which C standard library function converts a string such as "3.75" into a double value?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  8. To use the strlen() and strcpy() functions in a C program, which header file should be included?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  9. Which C standard library function reads formatted data from a character string (rather than from the keyboard)?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  10. What is printed by the C code: int n = 5, i; for (i = 0; i < n; i++) n--; printf("%d %d", i, n); ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।