C Fundamental Test 311) Single line comment in C language begins with _______
The correct option is (b). Explanation: For giving the comment in single line two immediate forward slashes are used. For a multi line comment it begins with /* and should be terminated with */. 12) What is the data type of "PI" for the below statement:
The correct option is (c). Explanation: Text associated with macro statement gets expanded at line of call. The expanded text is by default a constant with no data type associated with PI. 13) Which operator can be used for accessing the value stored at address of a pointer variable?
The correct option is (b). Explanation: The pointer operator is, & (address operator) = It gives address of the variable *(Value operator) = It gives value stored at particular address 14) The types of linkages in C programming language are:
The correct option is (c). Explanation:
15) Which of the following is true about C Programming?
The correct option is (c). Explanation: C-programming language is machine independent programming language. It provides the feature of portability of code means source code written on one machine can be run on any other machines. |