What will be the output of the program? #include #include int main() { char sentence[80]; int i; printf("Enter a line of text\n"); gets(sentence); for(i=strlen(sentence)-1; i >=0; i--) putchar(sentence[i]); return 0; }
Correct Answer: The sentence will get printed in reverse order
Discussion & Comments