कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
१,५०२ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
In C++, int &r = x; declares r as:
सही उत्तर: घ) a reference (alias) to x
A reference is another name for an existing variable; changes through r affect x.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A constructor that takes no arguments is called a:
सही उत्तर: क) default constructor
The default constructor can be called without arguments, e.g. Student s;.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A variable declared outside all functions in a C file is called a:
सही उत्तर: ग) global variable
Global variables are defined outside functions and can be accessed by any function in the file after the declaration.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which statement about a variable declared with the register storage class in C is correct?
सही उत्तर: ग) Its address cannot be taken with the & operator
register is a request to keep the variable in a CPU register, so taking its address is not allowed.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The volatile qualifier in C tells the compiler that:
सही उत्तर: घ) the variable may change at any time outside the program's control, so it must not be optimised away
volatile is used for hardware registers or shared variables so that every access really reads memory.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which data type CANNOT be used as the controlling expression of a C switch statement?
सही उत्तर: ख) float
The switch expression must have an integer type; floating values such as float are not allowed.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which header file must be included in C to use malloc() and free()?
सही उत्तर: ख) stdlib.h
Memory allocation functions are declared in <stdlib.h>.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A C program returning 0 from main() indicates to the operating system that:
सही उत्तर: क) the program finished successfully
By convention, return 0 (or EXIT_SUCCESS) from main signals successful termination.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In main(int argc, char *argv[]), argv[0] normally contains:
सही उत्तर: क) the name of the program
argv[0] is the program name; user arguments start from argv[1].
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which fopen() mode opens an existing text file for both reading and writing without erasing it?
सही उत्तर: घ) r+
r+ opens an existing file for read and write; w+ creates or truncates the file.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।