Solved MCQ of Programming in C set-3

468x60

Solved MCQ of Programming in C
Dependency graph for tgmath.h header file in C Programming Language (Photo credit: Wikipedia)
1. C language is available for which of the following operating systems?

A) DOS

B) Windows

C) Unix

D) All of the above


2. Which of the following are tokens in C?

A) Keywords

B) Variables

C) Constraints

D) All of the above


3. C was developed in the year .....................

A) 1970

B) 1972

C) 1976

D) 1980


4. Which escape character can be used to beep from speaker in C?

A) \a

B) \b

C) \m

D) \n


5. Which of the following is a keyword is used for storage class?

A) printf

B) external

C) auto

D) scanf


6. Continue statement is used .............

A) to go to the next iteration in a loop

B) come out of a loop

C) exit and return to the main function

D) restarts iteration from beginning of loop


7. File manipulation functions in C are available in which header file?

A) streams.h

B) stdio.h

C) stdlib.h

D) files.h


8. A compiler ................

A) is a computer program

B) translates a high level language into machine language

C) is a part of software

D) editor


9. Explicit type conversion is known as ....................

A) casting

B) conversion

C) disjunction

D) separation


10. A function popularly used C input function

A) scanf

B) printf

C) getch

D) Char



Answers:



1. C language is available for which of the following operating systems?

D) All of the above

2. Which of the following are tokens in C?

D) All of the above

3. C was developed in the year .....................

A) 1970

4. Which escape character can be used to beep from speaker in C?

B) \b

5. Which of the following is a keyword is used for storage class?

C) auto

6. Continue statement is used .............

A) to go to the next iteration in a loop

7. File manipulation functions in C are available in which header file?

B) stdio.h

8. A compiler ................

B) translates a high level language into machine language

9. Explicit type conversion is known as ....................

A) casting

10. A function popularly used C input function

A) scanf


Related Posts


468x60
معلومات عن التدوينة الكاتب : Unknown بتاريخ : الأربعاء، 6 نوفمبر 2013
المشاهدات :
عدد التعليقات: 0، للإبلاغ عن رابط معطوب اضغط هنا
250x300

شكرا لتعليقك
المتميز