๐Ÿ”’ Closed C algos

Status
Not open for further replies.
#include<stdio.h>

int reverse(int x)
{
while (x>0){
printf("%d",x%10);
x/=10;
}
}


int main()
{
int num=12345;
reverse(12345);
}
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 336
    Views
  • 2
    Participants
Last reply from:
FreeAllYouCan-OFFICIAL

Online now

Members online
1,112
Guests online
2,564
Total visitors
3,676

Forum statistics

Threads
2,277,077
Posts
28,974,181
Members
1,229,720
Latest member
alex1998
Back
Top