[Programming MCQS ]

झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।

[ Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
21. C Language में Identifier क्या होता है?
[A] Function या Variable का नाम
[B] Macro का नाम
[C] Structure या Union का नाम
[D] All the above
21. What is an Identifier in C Language.?
[A] Name of a Function or Variable
[B] Name of a Macros
[C] Name of Structure or Union
[D] All the above
सही उत्तर: D
व्याख्या: Identifier किसी variable, function, macro, structure या union का नाम होता है।
Correct Answer: D
Explanation: An identifier is the name given to variables, functions, macros, structures or unions.
22. C programming में “C” का क्या अर्थ है?
[A] Code
[B] Central
[C] Computer
[D] Control
22. What does “C” stand for in C programming?
[A] Code
[B] Central
[C] Computer
[D] Control
सही उत्तर: B
व्याख्या: यह MCQ के अनुसार Central दिया गया है।
Correct Answer: B
Explanation: According to given MCQ answer, C stands for Central.
23. C programming language किसने विकसित की?
[A] Dennis Ritchie
[B] Steve Jobs
[C] Bill Gates
[D] Tim Berners-Lee
23. C programming language was developed by:
[A] Dennis Ritchie
[B] Steve Jobs
[C] Bill Gates
[D] Tim Berners-Lee
सही उत्तर: A
व्याख्या: Dennis Ritchie ने C language विकसित की।
Correct Answer: A
Explanation: Dennis Ritchie developed C language.
24. निम्न में से कौन C language की विशेषता नहीं है?
[A] Object-oriented
[B] Procedural
[C] Portable
[D] Compiled
24. Which of the following is NOT a feature of C programming language?
[A] Object-oriented
[B] Procedural
[C] Portable
[D] Compiled
सही उत्तर: A
व्याख्या: C मूल रूप से object-oriented language नहीं है।
Correct Answer: A
Explanation: C is not originally an object-oriented language.
25. C को किस स्तर की programming language माना जाता है?
[A] High
[B] Low
[C] Medium
[D] None of the above
25. C is considered a _____ level programming language.
[A] High
[B] Low
[C] Medium
[D] None of the above
सही उत्तर: B
व्याख्या: दिए गए MCQ के अनुसार उत्तर Low है।
Correct Answer: B
Explanation: According to the given MCQ answer, C is considered low level.
26. C source files के लिए सामान्य extension कौन सा है?
[A] .cpp
[B] .java
[C] .c
[D] .py
26. Which of the following is an extension commonly used for C source files?
[A] .cpp
[B] .java
[C] .c
[D] .py
सही उत्तर: C
व्याख्या: C source files की extension .c होती है।
Correct Answer: C
Explanation: C source files commonly use .c extension.
27. C में main function सामान्यतः क्या return करता है?
[A] 0
[B] 1
[C] -1
[D] Any integer value
27. In C, the main function always returns:
[A] 0
[B] 1
[C] -1
[D] Any integer value
सही उत्तर: A
व्याख्या: Program successful execution पर 0 return करता है।
Correct Answer: A
Explanation: main() generally returns 0 on successful execution.
28. C में execution की basic unit क्या कहलाती है?
[A] Function
[B] Class
[C] Object
[D] Statement
28. The basic unit of execution in C is called a:
[A] Function
[B] Class
[C] Object
[D] Statement
सही उत्तर: A
व्याख्या: Function execution की मूल इकाई है।
Correct Answer: A
Explanation: Function is the basic execution unit in C.
29. C में single-line comment के लिए कौन सा symbol उपयोग होता है?
[A] //
[B] #
[C] %%
[D] /* */
29. Which symbol is used for single-line comments in C?
[A] //
[B] #
[C] %%
[D] /* */
सही उत्तर: A
व्याख्या: // single-line comments के लिए उपयोग होता है।
Correct Answer: A
Explanation: // is used for single-line comments.
30. C में variable का address लेने के लिए कौन सा operator उपयोग होता है?
[A] &
[B] *
[C] %
[D] $
30. Which operator is used for taking the address of a variable in C?
[A] &
[B] *
[C] %
[D] $
सही उत्तर: A
व्याख्या: & operator address-of operator कहलाता है।
Correct Answer: A
Explanation: & is known as address-of operator.