Preview (20 questions)
1 Question
30 seconds
Q.

C programming language was invented to write an operating system called ______.


LINUX

UNIX

EXO

2 Question
30 seconds
Q.

Who is considered the father of the C Programming Language?


Charles Babbage

Gregory John

Dennis Ritchie

3 Question
30 seconds
Q.

The C language was formalized in the year ______ by the American National Standard Institute.


1988

1900

1984

4 Question
30 seconds
Q.

We cannot use the keyword ‘break’ simply within _________.


while

for

if-else

5 Question
30 seconds
Q.

The global variables are _______ in function.


External

Internal

Both External and Internal

6 Question
30 seconds
Q.

The #include is a _________ directive.


Inclusion

File inclusion 

Preprocessor

7 Question
30 seconds
Q.

The #define can be externally available.


True

False

8 Question
30 seconds
Q.

The size of a union can be determined with the help of the size of __________.


The sum of all the members’ sizes

The biggest member of the union

The last member of the union

9 Question
30 seconds
Q.

________ tells a compiler that the data would be defined somewhere and it would be connected to the linker.


Extern

Yvals

Errno

10 Question
30 seconds
Q.

The primary purpose of the preprocessor directive #error causes a preprocessor to _________.


Ignore any error

Report some fatal errors

Repeat the code

11 Question
30 seconds
Q.

__________ is a condition in which the memory is dynamically reserved but isn’t accessible to any program.


Pointer Leak

Frozen Memory

Memory Leak

12 Question
30 seconds
Q.

Are any of these NOT relational or logical operators?


=

||

==

13 Question
30 seconds
Q.

Which keyword is used to prevent any changes in the variable within a C program?


immutable

mutable

const

14 Question
30 seconds
Q.

Can Functions return enumeration constants in C?


Yes

No

15 Question
30 seconds
Q.

_________ is the preprocessor facility that allows producing a different executable.


Functional points

Conditional compilation

System analyst

16 Question
30 seconds
Q.

A String in C is represented internally as ________.


An array of characters

The object of some class

Same as other primitive data types

17 Question
30 seconds
Q.

The amount of memory to be allocated needs to be known beforehand.


True

False

18 Question
30 seconds
Q.

The size of the int data type is _____ bytes in C.


4

8

2

19 Question
30 seconds
Q.

conio.h is not a standard header file in the C programming language.


True

False

20 Question
30 seconds
Q.

Guess the correct file opening modes in C?


r

rb

w

All of these

Cache-Control: no-cache, private Content-Type: application/json Date: Sun, 14 Dec 2025 06:27:30 GMT