MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Company QA knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
2 ? |
| A. | 2 97 |
| B. | Undefined behaviour |
| C. | Segmentation fault/code crash |
| Answer» B. Undefined behaviour | |
| 2. |
2 97 |
| A. | 2 2 |
| B. | Compile time error |
| C. | Segmentation fault/code crash |
| Answer» C. Segmentation fault/code crash | |
| 3. |
0 0 0 0 0 |
| A. | 6 5 3 0 0 |
| B. | Run time error |
| C. | 6 5 3 junk junk |
| Answer» D. | |
| 4. |
000000 |
| A. | 0.000000 |
| B. | Compile time error |
| C. | Undefined behaviour |
| Answer» B. Compile time error | |
| 5. |
5 6 |
| A. | 6 5 |
| B. | 5 5 |
| C. | 6 6 |
| Answer» B. 5 5 | |
| 6. |
What is the maximum number of arguments that can be passed in a single function? |
| A. | 127 |
| B. | 253 |
| C. | 361 |
| D. | No limits in number of arguments |
| Answer» D. No limits in number of arguments | |
| 7. |
Arguments that take input by user before running a program are called? |
| A. | main function arguments |
| B. | main arguments |
| C. | Command-Line arguments |
| D. | Parameterized arguments |
| Answer» E. | |
| 8. |
Which type of variables can have same name in different function? |
| A. | global variables |
| B. | static variables |
| C. | Function arguments |
| D. | Both static variables and Function arguments |
| Answer» C. Function arguments | |