C Language INTERVIEW QUESTION & ANSWERS
71. |
What is the purpose of scanf() and printf() functions? |
|
- The function scanf() is used for formatted input from the standard input and provides many of the conversion facilities.
- It is used for formatted output to standard output device, that is, screen. The format specification string and the data to be output, are the arguments (parameters) to the printf() function.
|
72. |
What is type qualifiers? |
|
Type qualifier adds properties to an identifier. Type qualifiers describe the manner in which the object will be modified. The application of qualifiers to an object does not affect the range or the arithmetic properties of the object. |
73. |
What are the types of type qualifiers in c? |
|
The two type qualifiers provided by C are : - const
- volatile
|
74. |
What is meant by inheritance? |
|
Inheritance is the process by which objects of one class acquire properties of objects of another class. |
75. |
Do string constants represent numerical values? |
|
No, the string constants donot have a corresponding numerical value. |