Quiz-1
Q 1. What does a default headers file contain? / डिफ़ॉल्ट हेडर फ़ाइल में क्या होता है
- prototype
 - implementations
 - declarations
 - pointing
 
Q 2. A programmer can create custom header files that must be end with / एक प्रोग्रामर कस्टम हेडर फाइल बना सकता है जिसे समाप्त होना चाहिए
- .h extension
 - .i extension
 - ios extension
 - .a extension
 
											Q 3.
											What is the output of C Program.? / सी प्रोग्राम का आउटपुट क्या होता है?
int main()
{
int a=0;
a = printf("4");
printf("%d",a);
return 0;
}
									- 04
 - compiler error
 - 40
 - 41
 
Q 4. Which of the following comment is correct when a macro definition includes arguments? / मैक्रो परिभाषा में तर्क शामिल होने पर निम्नलिखित में से कौन सी टिप्पणी सही है?
- The opening parenthesis should immediately follow the macro name.
 - There should be at least one blank between the macro name and the opening parenthesis.
 - There should be only one blank between the macro name and the opening parenthesis.
 - All the above comments are correct.
 
Q 5. What is the control character for "a single character". / "एकल वर्ण" के लिए नियंत्रण वर्ण क्या है।
- %c
 - %d
 - %i
 - %p
 
Q 6. Which is more appropriate for reading in a multi-word string? / बहु-शब्द स्ट्रिंग में पढ़ने के लिए कौन सा अधिक उपयुक्त है?
- gets( )
 - printf( )
 - scanf( )
 - puts ( ).
 
Q 7. malloc() function used in dynamic allocation is available in which header file? / डायनामिक आवंटन में प्रयुक्त malloc () फ़ंक्शन किस हेडर फ़ाइल में उपलब्ध है?
- stdio.h
 - stdlib.h
 - conio.h
 - mem.h
 
Q 8. The printf() function retunes which value when an error occurs? / जब कोई त्रुटि होती है तो Printf () फ़ंक्शन किस मान को फिर से ट्यून करता है?
- Positive value
 - Zero
 - Negative value
 - None of these
 
Q 9. Which escape character can be used to beep from speaker in C? / C में स्पीकर से बीप करने के लिए किस एस्केप कैरेक्टर का उपयोग किया जा सकता है?
- \a
 - \b
 - \m
 - \n
 
Q 10. Which of the following is library function of studio.h header file in C language?/ निम्नलिखित में से कौन सी भाषा में Studio.h हेडर फाइल का लाइब्रेरी फंक्शन है?
- getc()
 - putc()
 - printf()
 - all of these
 
