[C Programming MCQS ]

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

[ C Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
1. C भाषा के डेवलपर कौन हैं?
[A] Dennis Richie
[B] Ken Thompson
[C] Bill Gates
[D] Peter Norton
1. Developer of C language is ______________.
[A] Dennis Richie
[B] Ken Thompson
[C] Bill Gates
[D] Peter Norton
सही उत्तर: Dennis Richie
व्याख्या: Dennis Ritchie को C भाषा का जनक माना जाता है। उन्होंने Bell Labs में C भाषा विकसित की थी।
Correct Answer: Dennis Richie
Explanation: Dennis Ritchie is known as the creator of the C programming language.
2. C भाषा का विकास किस वर्ष हुआ था?
[A] 1970
[B] 1972
[C] 1976
[D] 1980
2. C language developed in _________________.
[A] 1970
[B] 1972
[C] 1976
[D] 1980
सही उत्तर: 1972
व्याख्या: C भाषा का विकास Dennis Ritchie द्वारा 1972 में किया गया था।
Correct Answer: 1972
Explanation: C language was developed by Dennis Ritchie in 1972.
3. C किस स्तर की भाषा है?
[A] High
[B] Low
[C] Middle
[D] Machine
3. C is ______ level language.
[A] High
[B] Low
[C] Middle
[D] Machine
सही उत्तर: Middle
व्याख्या: C को Middle Level Language कहा जाता है क्योंकि इसमें High Level और Low Level दोनों भाषाओं की विशेषताएँ होती हैं।
Correct Answer: Middle
Explanation: C is called a middle-level language because it combines features of both high-level and low-level languages.
4. C किस ऑपरेटिंग सिस्टम के लिए उपलब्ध है?
[A] DOS
[B] Windows
[C] Unix
[D] All of above
4. C is available for which OS?
[A] DOS
[B] Windows
[C] Unix
[D] All of above
सही उत्तर: All of above
व्याख्या: C विभिन्न ऑपरेटिंग सिस्टम जैसे DOS, Windows और Unix पर उपलब्ध है।
Correct Answer: All of above
Explanation: C language is available on DOS, Windows and Unix operating systems.
5. प्री-प्रोसेसर स्टेटमेंट के लिए किस चिन्ह का उपयोग किया जाता है?
[A] !
[B] #
[C] ~
[D] ;
5. Which symbol is used for pre-processor statement?
[A] !
[B] #
[C] ~
[D] ;
सही उत्तर: #
व्याख्या: C में #include, #define आदि प्री-प्रोसेसर निर्देश # चिन्ह से शुरू होते हैं।
Correct Answer: #
Explanation: Preprocessor directives such as #include and #define begin with #.
6. निम्न में से कौन सा Scalar Data Type है?
[A] Float
[B] Union
[C] Array
[D] Pointer
6. Which of the following is a scalar data type?
[A] Float
[B] Union
[C] Array
[D] Pointer
सही उत्तर: Float
व्याख्या: Float एक Scalar Data Type है क्योंकि यह एक समय में केवल एक मान संग्रहीत करता है।
Correct Answer: Float
Explanation: Float is a scalar data type because it stores a single value.
7. निम्न में से C में कौन-कौन से Tokens हैं?
[A] Keywords
[B] Variables
[C] Constants
[D] All of above
7. Which of the following are tokens in C?
[A] Keywords
[B] Variables
[C] Constants
[D] All of above
सही उत्तर: All of above
व्याख्या: Keywords, Variables और Constants सभी C भाषा के Tokens हैं।
Correct Answer: All of above
Explanation: Keywords, variables and constants are all tokens in C.
8. int डेटा टाइप की वैध सीमा क्या है?
[A] 0 to 256
[B] -32768 to +32767
[C] -32767 to +32768
[D] No particular range
8. Which is the valid range of int data type?
[A] 0 to 256
[B] -32768 to +32767
[C] -32767 to +32768
[D] No particular range
सही उत्तर: -32768 to +32767
व्याख्या: पारंपरिक 16-bit कंपाइलर में int की सीमा -32768 से +32767 होती है।
Correct Answer: -32768 to +32767
Explanation: In traditional 16-bit compilers, int ranges from -32768 to +32767.
9. स्टेटमेंट को समाप्त करने के लिए किस चिन्ह का उपयोग किया जाता है?
[A] !
[B] #
[C] ~
[D] ;
9. Which symbol is used to terminate a statement?
[A] !
[B] #
[C] ~
[D] ;
सही उत्तर: ;
व्याख्या: C में प्रत्येक स्टेटमेंट को सेमीकोलन (;) से समाप्त किया जाता है।
Correct Answer: ;
Explanation: Every statement in C is terminated using a semicolon (;).
10. कौन सा Escape Sequence नई पंक्ति (Line Terminator) के लिए उपयोग होता है?
[A] \a
[B] \b
[C] \m
[D] \n
10. Which escape sequence character is a line terminator?
[A] \a
[B] \b
[C] \m
[D] \n
सही उत्तर: \n
व्याख्या: \n का उपयोग नई पंक्ति में जाने के लिए किया जाता है।
Correct Answer: \n
Explanation: \n is used to move the cursor to the next line.