नमस्ते · Hello

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

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

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

…

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

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

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

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

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

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

  1. In C++, a class that contains at least one pure virtual function is called a/an:

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

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

  2. What is printed by the C++ code: string s = "abc"; reverse(s.begin(), s.end()); cout << s; ?

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

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

  3. In C++, struct S { int v; S(int x) : v(x) {} bool operator<(const S &o) const { return v > o.v; } };. What is printed by S a(3), b(7); cout << (a < b); ?

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

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

  4. In C++, class Box has a constructor Box(int x = 2) : w(x) {} and int get() const { return w; }. What is printed by Box a, b(5); cout << a.get() + b.get(); ?

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

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

  5. What is printed by the C++ code: int a[] = {1, 2, 3, 4}; int s = 0; for (int &x : a) { x *= 2; s += x; } cout << s << a[3]; ?

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

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

  6. What is printed by the C++ code: stack<int> s; s.push(1); s.push(2); s.push(3); s.pop(); cout << s.top() << s.size(); ?

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

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

  7. In C++, struct A has void f(int) printing "A", and struct B : A declares only void f(double) printing "B". What does B b; b.f(1); print?

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

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

  8. In C++, struct C has static int n = 0; its default constructor does n++ and its copy constructor does n += 10. What is C::n after C a; C b = a; ?

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

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

  9. What is printed by the C++ code: string s = "Hello"; s.insert(5, " World"); cout << s.find('W'); ?

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

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

  10. In C++ (unlike C), what is the value of sizeof('A') on a system where int is 4 bytes?

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

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

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