Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain is it better to bitshift a value than to multiply by 2?

1207


What does s c mean on snapchat?

1122


How to declare pointer variables?

1253


Is file a keyword in c?

938


What is dynamic memory allocation?

1345


Differentiate between null and void pointers.

1182


What do you mean by a sequential access file?

1089


What is exit() function?

1031


What are loops c?

1062


What is boolean in c?

1099


Which is the memory area not included in C program? give the reason

1953


What is the difference between procedural and functional programming?

1087


How can you determine the maximum value that a numeric variable can hold?

1241


How can I read in an object file and jump to locations in it?

1035


What does 1f stand for?

1179