simple c program for 12345 convert 54321 with out using string
Answer Posted / vignesh1988i
hi good morning folks... happy sunday.......
#include<stdio.h>
#include<conio.h>
void main()
{
int n,m;
printf("enter the number :");
scanf("%d",&n);
for(int i=1;n>0;i++)
{
m=n%10;
n=n/10;
printf("\n %d",m);
}
getch();
}
thank u
| Is This Answer Correct ? | 31 Yes | 11 No |
Post New Answer View All Answers
Explain is it better to bitshift a value than to multiply by 2?
What does s c mean on snapchat?
How to declare pointer variables?
Is file a keyword in c?
What is dynamic memory allocation?
Differentiate between null and void pointers.
What do you mean by a sequential access file?
What is exit() function?
What are loops c?
What is boolean in c?
Which is the memory area not included in C program? give the reason
What is the difference between procedural and functional programming?
How can you determine the maximum value that a numeric variable can hold?
How can I read in an object file and jump to locations in it?
What does 1f stand for?