| 9. | Which of the following special symbol allowed in a variable name? |
|||||||
Answer: Option D Explanation: Variable names in C are made up of letters (upper and lower case) and digits. The underscore character ("_") is also permitted. Names must not begin with a digit. Examples of valid (but not very descriptive) C variable names: |
| 10. | What are the types of linkages? |
|||||||
Answer: Option B Explanation: External Linkage-> means global, non-static variables and functions. |
| 11. | Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? |
|||||||
Answer: Option C Explanation: fmod(x,y) - Calculates x modulo y, the remainder of x/y. Example: |
