कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
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.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the size of the char data type in C?
सही उत्तर: क) 1 byte
The C standard defines sizeof(char) as exactly 1 byte.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।