नमस्ते · Hello

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

विद्याले विनम्रता दिन्छ, विनम्रताबाट योग्यता आउँछ।

Knowledge gives humility, and humility makes one worthy.

…

प्रोग्रामिङ – Programming MCQ

प्रोग्रामिङ – कम्प्युटर र IT

Programming · Computer & IT (Technical) · १,५६५ प्रश्न

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

प्रोग्रामिङ: प्रश्न र उत्तर

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

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

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

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

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

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

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

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

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

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

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

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

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

  5. What is printed by the C code: char s[] = "C programming"; int i, w = 1; for (i = 0; s[i]; i++) if (s[i] == ' ') w++; printf("%d", w); ?

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

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

  6. What is printed by the C code: int a[] = {2, 7, 1, 8, 2}, i, m = 0; for (i = 1; i < 5; i++) if (a[i] > a[m]) m = i; printf("%d", m); ?

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

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

  7. What is printed by the C code: int x = 1, y = 1; x += y += 2; printf("%d %d", x, y); ?

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

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

  8. What is printed by the C code: char s[] = "abcdef"; printf("%s", s + strlen(s) / 2); ?

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

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

  9. What is printed by the C code: int i, j; for (i = 1; i <= 3; i++) { for (j = 3; j >= i; j--) printf("*"); printf("\n"); } What is printed on the second line?

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

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

  10. For positive integers a and b, the C expression (a + b - 1) / b computes:

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

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

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