C Language Interview Questions and Answers for Freshers - 4

Question: 16

What is the difference between the expression “++a” and “a++”?

With ++a, the increment happens first on variable a, and the resulting value is used. This is called as Prefix increment.

With a++, the current value of the variable will be used in an operation. This is called as postfix increment.

Question: 17

What is identifier in C?

Each program elements in a C program are given a name called identifiers.

Names given to identify Variables, functions and arrays are examples for identifiers.

Question: 18

What is token in C?

C tokens are the basic buildings blocks in C language which are constructed together to write a C program.

Each and every smallest individual unit in a C program is known as C tokens.

Question: 19

What are the types of C tokens?

C tokens are of six types. They are,

Keyword

Identifiers

Constants

Strings

Special symbols

Operators

Question: 20

Define pre-processor?

It is a program that processor the source code before it passes to the compiler.

Related Questions