C Language Interview Questions and Answers for Freshers - 6

Question: 26

What is operator in C?

The symbols which are used to perform logical and mathematical operations in a C program are called C operators.

These C operators join individual constants and variables to form expressions.

Operators, functions, constants and variables are combined together to form expression.

Question: 27

What are the different types of operators in C?

C language offers many types of operators. They are:

Arithmetic operators

Assignment operators

Relational operators

Logical operators

Bit wise operators

Conditional operators (ternary operators)

Increment/decrement operators

Special operators

Question: 28

What is bitwise operator in C?

Bitwise operators are used to perform bit operations. Decimal values are converted into binary values which are the sequence of bits and bit wise operators work on these bits.

Bit wise operators in C language are &(bitwise AND), | (bit wise OR), ~ (bitwise OR), ^ (XOR), << (left shift) and >> (right shift).

Question: 29

What is the program development life cycle?

These are the sequence of events considered by the programmer to design and develop efficient programs.

Question: 30

What is the starting index of an array?

The starting index of an array is 0 (zero).

Related Questions