कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)
Computer Officer – 7th Level · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
Given int fact(int n){ return n
सही उत्तर: ख) 120
5 x 4 x 3 x 2 x 1 = 120.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A function that calls itself is known as a:
सही उत्तर: घ) Recursive function
Recursion is when a function calls itself.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which storage class in C makes a local variable retain its value between function calls?
सही उत्तर: ग) static
A static local variable keeps its value across calls.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
How many operands does the conditional (ternary) operator ?: take in C?
सही उत्तर: क) 3
The ternary operator has the form condition ? expr1 : expr2, using three operands.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the value of the C expression 8 >> 2?
सही उत्तर: ग) 2
Shifting right by 2 divides 8 by 4, giving 2.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the value of the C expression 5 ^ 3?
सही उत्तर: ख) 6
^ is bitwise XOR: 0101 XOR 0011 = 0110, which is 6.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the value of the C expression 5 & 3?
सही उत्तर: ख) 1
0101 AND 0011 gives 0001, which is 1.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following is the logical AND operator in C?
सही उत्तर: ग) &&
&& is logical AND, while & is bitwise AND.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which C library function releases memory previously allocated with malloc()?
सही उत्तर: क) free()
free() returns dynamically allocated memory to the system; delete is a C++ operator.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A pointer variable in C stores:
सही उत्तर: क) The memory address of another variable
A pointer holds an address in memory.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।