0% found this document useful (0 votes)
121 views

Basics - 1-Multiple Choice Questions and Answers On C Programming Basics PDF

This document contains 5 multiple choice questions about C programming basics. It covers topics like who developed C, what identifiers and keywords are, and types of numeric constants in C like integer and real constants. Dennis Ritchie developed C at Bell Labs in the 1970s. Identifiers can include letters, numbers, and underscores and are used to name variables and functions. Keywords are reserved words with predefined meanings that cannot be used as identifiers.

Uploaded by

Vikram Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views

Basics - 1-Multiple Choice Questions and Answers On C Programming Basics PDF

This document contains 5 multiple choice questions about C programming basics. It covers topics like who developed C, what identifiers and keywords are, and types of numeric constants in C like integer and real constants. Dennis Ritchie developed C at Bell Labs in the 1970s. Identifiers can include letters, numbers, and underscores and are used to name variables and functions. Keywords are reserved words with predefined meanings that cannot be used as identifiers.

Uploaded by

Vikram Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

gkseries.

com
http://www.gkseries.com/computer-engineering/c-programming/c-programming-basics/00001-c-programming-basics

Basics - Multiple Choice Questions and Answers on C


Programming Basics

1.

Who developed the C programming language?

[A] Bjarne Stroustrup

[B] James Gosling

[C] Dennis Ritchie

[D] Ray Boyce

Answer & Explanation

Answer: Option C

Dennis Ritchie developed the C programming language at Bell laboratories during 1970s

2.

A name having a few letters, numbers and special character _(underscore) is called

[A] keywords

[B] reserved keywords

[C] tokens

[D] identifiers

Answer & Explanation

Answer: Option D

An identifier is a name used to identify a variable, function, array, structure, array, union etc. It can be consists of
maximum 31 characters.

3.

The words if, else, auto, float etc. hasve predefined meaning and users cannot use them as variables. These
words are called

[A] constant

[B] identifier

[C] data types


[D] keywords

Answer & Explanation

Answer: Option D

4.

What is/are the type/types of numeric constant/constants used in c programming language?

[A] Integer constant

[B] Real constant

[C] Both [A] & [B]

[D] None of the above

Answer & Explanation

Answer: Option C

5.

Which is/are the integer constant/constants?

[A] Decimal integer constant

[B] Octal integer constant

[C] Hexadecimal integer constant

[D] All of the above

Answer & Explanation

Answer: Option D

You might also like