Q75
What will be the output of the following C++ code? #include using namespace std; int main() char arr[20]; int i; for(i = 0; i < 10; i++) *(arr + i) = 65 + i; *(arr + i) = '\0'; cout << arr; return(0);
A.
ABCDEFGHIJ
AnswerB.
AAAAAAAAAA
C.
JJJJJJJJ
D.
AAAAAAJJJJ
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board