πŸ“Š C++
Q. Output of this program will be
Code:
#include
using namespace std;
int main()
{
char str[5] = “ABC”;
cout << str[3];
cout << str;
return 0;
}
  • (A) ABCD
  • (B) AB
  • (C) ABC
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (C) ABC

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
246
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Tina Singh
Publisher
πŸ“ˆ
94%
Success Rate