#include <stdio.h>
#include <conio.h>
# define EOLN '
'
void reverse(void); /* function prototype */
void main()
{
char c;
clrscr();
printf(" Please enter a line of text below<BR>);
reverse();
printf("
is the reversed form.");
getch();
}
void reverse(void)
/* read a line of characters & write it out backwards */
{
char c;
if ((c=getchar())!=EOLN)
reverse();
putchar(c);
return;
}
#include <conio.h>
# define EOLN '
'
void reverse(void); /* function prototype */
void main()
{
char c;
clrscr();
printf(" Please enter a line of text below<BR>);
reverse();
printf("
is the reversed form.");
getch();
}
void reverse(void)
/* read a line of characters & write it out backwards */
{
char c;
if ((c=getchar())!=EOLN)
reverse();
putchar(c);
return;
}
No comments:
Post a Comment
kiss on google ads if you are anonymous because your ip is trackable.thank you.
......from.admin