c programming question What is the output of the following p
c++ programming question
What is the output of the following program? Read both sentences and provide the output What is the final length of the strings (including the null character)? int main() {int n, m; char A[] =\"!!!hcet me kcerw\"; n=strlen(A); for (int i=0; iSolution
Output:
wreck em tech!!!
amanaP--lanac a ,nalp a ,nam A
Final length:46
Explanation: The strings get printed in reverse order as we are looping till string length and then displaying character one by one from end.
