satrughna sethi


{ City } berhampur, orissa
< Country > india
* Profession *
User No # 28476
Total Questions Posted # 2
Total Answers Posted # 1

Total Answers Posted for My Questions # 10
Total Views for My Questions # 22634

Users Marked my Answers as Correct # 5
Users Marked my Answers as Wrong # 5
Questions / { satrughna sethi }
Questions Answers Category Views Company eMail

main() { char c; for(c='A';c<='Z';c++) getch(); }

9 C C++ Errors 14480

main() { char i; for(i='A';i<='Z';i++) printf("%c",i); }

1 IIT JEE 8154




Answers / { satrughna sethi }

Question { 8553 }

convert 12345 to 54321 withoutusing strig


Answer

#include
#include
void main()
{
int i,j;
printf("enter a number");
scanf("%d",&i);
for(int n=1;n<=5;n++)
{
j=i%10;
i=i/10;
printf("%d",j);
}
getch();
}

Is This Answer Correct ?    5 Yes 5 No