C Languages Interview Questions
57. | What is type casting? |
---|---|
Type casting is the process of converting the value of an expression to a particular data type. Example: int x,y; C=(float) x/y; Where x and y are defined as integers. Then the result of x/y is converted into float. |
|
58. | What are the main elements of an array declaration? |
---|---|
There are three elements are there called Array name, Type and Size. | |
59. | What is meant by Control String in Input/output Statements? |
---|---|
Control String contains the format code characters, specifies the type of data, that the user accessed within the Input/output statements. | |
60. | What is a union? |
---|---|
|
|