कम्प्युटर र सूचना प्रविधि (प्राविधिक)
कम्प्युटर र सूचना प्रविधि (प्राविधिक)
Computer & IT (Technical) · ५,०४८ प्रश्न
५,०४८ प्रश्न उपलब्ध। मोड छान्नुहोस्:
कम्प्युटर र IT: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
A pointer variable in C stores:
सही उत्तर: क) The memory address of another variable
A pointer holds an address in memory.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, a string is terminated by which character?
सही उत्तर: ख) '\0'
C strings end with the null character '\0'.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What does strlen("Nepal") return in C?
सही उत्तर: ग) 5
strlen counts characters before the terminating null, so "Nepal" gives 5.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, the index of the first element of an array is:
सही उत्तर: ग) 0
C arrays are zero-indexed.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, the continue statement inside a loop:
सही उत्तर: घ) Skips the remaining statements of the current iteration and moves to the next iteration
continue transfers control to the next iteration, skipping the rest of the loop body.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which statement immediately terminates the innermost loop in C?
सही उत्तर: घ) break
break exits the nearest enclosing loop or switch at once.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the value of the C expression 10 % 3?
सही उत्तर: ग) 1
The modulus operator gives the remainder of 10 divided by 3, which is 1.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, what is printed by: int a = 5, b; b = a++; printf("%d %d", a, b);
सही उत्तर: ग) 6 5
Post-increment assigns the old value 5 to b and then increments a to 6.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following is NOT a valid identifier in C?
सही उत्तर: क) 2value
A C identifier cannot begin with a digit.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which operator in C gives the memory address of a variable?
सही उत्तर: ग) &
The unary & (address-of) operator returns the address of its operand.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।