MCQ
Single Best Answer
Not Set
QWhat 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);
}
ID: #1443
String in C Language
1,207 views
Question Info
#1443Q ID
Not SetDifficulty
String in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option D
Explanation
No output at all.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic