MCQOPTIONS
Saved Bookmarks
This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your HPCL knowledge and support exam preparation. Choose a topic below to get started.
| 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 | |