C-Language Interview Questions
1 .
What is Assignment Operators in C ?
In C program values for the variables are assigned using assignment operators. The most common assignment operator is ‘=’ this operator assign (copy) the right side value to the left side variable.

Example :
var =5;  //5 is assigned to var
a=c;   //value of c is assigned to a
5=c;   // Error! 5 is a constant.
2 .
What is Increment and Decrement in C ?
In C, “++” and “--“are called increment and decrement operators respectively. Both of these operators are unary operators, i.e., used on single operand. ++ adds 1 to operand and -- subtracts 1 from operand respectively.

Syntax :
increment operator: ++var_name; (or) var_name++;
Decrement operator: --var_name; (or) var_name--;
3 .
What is Relational Operators in C ?
Relational Operators are used to find the relation between two variables, and also used to compare arithmetic, logical and character expressions. The value of a relational expression is either one or zero, if the result is one, then the specified relation is true or if the result is zero then the specified relation is false.

Example :
10 < 20 is true 
20 < 10 is false
4 .
What are Logical Operators in C ?
Logical Operators are used when we want to test more than one condition and make decisions. Here the operands can be constants, variables and expressions.
There are 3 logical operators in c language they are   &&, ||, !
5 .
What are Conditional Operators in C ?
Conditional operator is used to check a condition and Select a Value depending on the Value of the condition. 

Syntax :
Variable = (condition)? Value 1: Value 2:
6 .
What are Bitwise Operators in C ?
Bitwise operators are used to perform operations at binary level. Decimal values are converted into binary values these operators are used for testing the bits, or  shifting them right or left. These operators are not applicable to float or double. Following are the Bitwise operators with their meanings.

Operators : 
& : Bitwise AND
| : Bitwise OR
^ : Bitwise Exclusive – OR
<< : Left Shift
>> : Right Shift
~ : Complement
7 .
What are Special operators in C ?
Below are the some important special operators in c language

Comma, : Comma operators are used to link related expressions together.
& : This is used to get the address of the variable
* : This is used as pointer to a variable
sizeof() : This gives the size of the variable
8 .
What is a pointer on pointer ?
It’s a pointer variable which can hold the address of another pointer variable. It de-refers twice to point to the data held by the designated pointer variable.

Ex : int x = 5, *p=&x, **q=&p;
Therefore ‘x’ can be accessed by **q.
9 .
What is the difference between the = symbol and == symbol ?
The = symbol is often used in mathematical operations. It is used to assign a value to a given variable. On the other hand, the == symbol, also known as “equal to” or “equivalent to”, is a relational operator that is used to compare two values.
10 .
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
<> is incorrect. While this operator is correctly interpreted as “not  equal to” in writing conditional statements, it is not the proper operator to be used in C  programming. Instead, the operator  !=  must be used to indicate “not equal to” condition.