Assignment 5 Question 3

#include <stdio.h>
 void revstr() {
 int ch = getchar();
 if (ch == EOF) return;
 revstr();
 putchar(ch);
}
int main() {
 revstr();
 return 0;
}

Comments

Popular posts from this blog

Assignment 6 Question 3

Assignment 8 Question 1

Assignment 7 Question 2