#include<stdio.h>
#include<conio.h>
#define EOLN '\n'
void reverse(void); //function protype
void main(void)
{
clrscr();
printf("\n\n\t\t please enter a name \n");
reverse();
getche();
}
void reverse(void)
{
char c,p;
if((c=getchar())!=EOLN) reverse();
putchar(c);
return;
}
#include<conio.h>
#define EOLN '\n'
void reverse(void); //function protype
void main(void)
{
clrscr();
printf("\n\n\t\t please enter a name \n");
reverse();
getche();
}
void reverse(void)
{
char c,p;
if((c=getchar())!=EOLN) reverse();
putchar(c);
return;
}
0 comments :
Post a Comment