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
Can you please explain the difference between exit() and _exit() function?
How many data structures are there in c?
What are the different properties of variable number of arguments?
Why is c known as a mother language?
Is a house a mass structure?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
How can I discover how many arguments a function was actually called with?
What is typedef struct in c?
What is register variable in c language?
What language is windows 1.0 written?
What are the functions to open and close file in c language?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Is python a c language?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..