Basics - Multiple Choice Questions and Answers on C Programming Basics

Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Questions
1 Who developed the C programming language?
A Bjarne Stroustrup
B James Gosling
C Dennis Ritchie
D Ray Boyce

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: 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.

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
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: 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: 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: Option [D]

Random GK Questions

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!

Chapters

Assam Direct Recruitment Test Series

Computer Science Topics