1. | C99 standard guarantees uniqueness of characters for internal names ? |
| |
| A. | 31 |
| B. | 63 |
| C. | 12 |
| D. | 14 |
|
|
| Answer: Option B |
|
|
| Explanation: |
|
ISO C99 compiler may consider only first 63 characters for internal names. |
| See More Information |
|
|
|
Tutorial Link: |
Published by:
2. | C99 standard guarantees uniqueness of characters for external names ? |
| |
| A. | 31 |
| B. | 6 |
| C. | 14 |
| D. | 16 |
|
|
| Answer: Option A |
|
|
| Explanation: |
|
ISO C99 compiler may consider only first 31 characters for external names. |
| See More Information |
|
|
|
Tutorial Link: |
Published by:
3. | Which of the following is not a valid variable name declaration ? |
| |
| A. | int __a3; |
| B. | int __3a; |
| C. | int __A3; |
| D. | None of these |
|
|
4. | Which of the following is not a valid variable name declaration ? |
| |
| A. | int _a3; |
| B. | int a_3; |
| C. | int 3_a; |
| D. | int _3a |
|
|
| Answer: Option C |
|
|
| Explanation: |
|
Variable name cannot start with a digit. |
| See More Information |
|
|
|
Tutorial Link: |
Published by:
5. | Why do variable names beginning with the underscore is not encouraged ? |
| |
| A. | It is not standardized |
| B. | To avoid conflicts since assemblers and loaders use such names |
| C. | To avoid conflicts since library routines use such names |
| D. | To avoid conflicts with environment variables of an operating system |
|
|
Read More..
Online Test : Take an Online C Programming Aptitude Test Now!