MCQ Practice
Single Best Answer
Topic: String in C Language
Q
What will be the correct output of the following program?
#include
void main()
{
char str[] = "C EXAMINATION", rev[17];
int i = strlen(str), j=0;
for( ; i>=0; rev[j++] = str[i--]);
rev[j] = '*';
puts(rev);
}
Subchapter
String in C Language
Action
Choose one option below