MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? #include < stdio.h > using namespace std; int main() { char str[5] = "ABC"; cout << str[3]; cout << str; return 0; } |
| A. | ABC |
| B. | ABCD |
| C. | AB |
| D. | None of the mentioned |
| Answer» B. ABCD | |