C Language INTERVIEW QUESTION & ANSWERS
36. |
What are the primitive data types in c? |
|
There are five different kinds of data types in C.
- Char
- Int
- Float
- Double
- Void
|
37. |
What is the use of typedef? |
|
The typedef help in easier modification when the programs are ported to another machine.A descriptive new name given to the existing data type may be easier to understand the code. |
38. |
What is meant by type specifiers? |
|
Type specifiers decide the amount of memory space occupied by a variable. In the ease of integral types; it also explicitly states the range of values that the object can hold. |
39. |
What are the types of type specifiers? |
|
The available data type specifiers are :
- Short
- Long
- Signed
- Unsigned
|
40. |
What is masking? |
|
Masking is a process in which a given bit pattern is partly extracted into another bit pattern by means of a logical bitwise operation. |