कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
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.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The #ifndef ... #define ... #endif pattern in a C header file is used to:
सही उत्तर: क) prevent the header from being included more than once
Such include guards stop duplicate definitions when the same header is included several times.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, #include <stdio.h> and #include "myfile.h" differ in that the quoted form:
सही उत्तर: क) searches the current (source) directory first before the standard include directories
Angle brackets search the system include paths; quotes search the source file's directory first.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A structure in C that contains a pointer to a structure of the same type is called a:
सही उत्तर: ख) self-referential structure
Self-referential structures such as struct node { int data; struct node *next; }; are used to build linked lists.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which operator is used to access a member of a structure variable (not a pointer) in C?
सही उत्तर: ग) . (dot)
For a structure variable s, s.member is used; -> is used with a pointer to a structure.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The C declaration int (*fp)(int); declares fp as:
सही उत्तर: क) a pointer to a function that takes an int and returns an int
The parentheses bind * to fp, making it a pointer to a function with signature int (int).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।