B.Tech Students: Apply for Live Programming Internship C, C++, Java, Python ,Web page Designing, PHP C Introduction Quiz | C Programming Test

C Programming Quiz: Introduction

Q1. Which language is C primarily based on?C भाषा किस भाषा पर आधारित है?

Correct: B

C is based on the B programming language developed at Bell Labs.

Q2. Who developed C language?C भाषा किसने विकसित की?

Correct: Dennis Ritchie

Dennis Ritchie developed C at Bell Labs in the 1970s.

Q3. What is the correct extension for C programs?C प्रोग्राम की सही एक्सटेंशन क्या है?

Correct: .c

C programs are saved with `.c` extension.

Q4. Which is a valid C keyword?निम्नलिखित में से कौन सा एक वैध C कीवर्ड है?

Correct: int

`int` is a valid data type keyword in C.

Q5. C is a ___ level programming language.C एक ___ स्तर की प्रोग्रामिंग भाषा है।

Correct: Middle

C is considered a middle-level language because it supports both high- and low-level programming.

Q6. C language was developed in which year?C भाषा किस वर्ष में विकसित की गई थी?

Correct: 1972

C was developed in 1972 by Dennis Ritchie.

Q7. C is mainly used for:C मुख्य रूप से किसके लिए उपयोग की जाती है?

Correct: System programming

C is heavily used for system-level programming like OS, compilers, etc.

Q8. Which of the following is a C compiler?निम्नलिखित में से कौन सा C कंपाइलर है?

Correct: Both TurboC and GCC

TurboC and GCC are both compilers for C.

Q9. Main function in C starts with?C में मुख्य फ़ंक्शन किससे शुरू होता है?

Correct: main()

The standard form is `int main()` or `void main()`.

Q10. C programs are compiled using?C प्रोग्राम्स किसका उपयोग करके संकलित किए जाते हैं?

Correct: Compiler

C uses a compiler to convert code to machine language.