MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of following logical operation can be applied to pointers? (Assuming initialization int *a = 2; int *b = 3;) |
| A. | a | b |
| B. | a ^ b |
| C. | a & b |
| D. | None of the mentioned |
| Answer» E. | |
| 2. |
Which of the following arithmetic operation can be applied to pointers a and b? (Assuming initialization as int *a = (int *)2; int *b = (int *)3;) |
| A. | a + b |
| B. | a b |
| C. | a * b |
| D. | a / b |
| Answer» C. a * b | |