🔒 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
  • 344
    Views
  • 2
    Participants
Last reply from:
FreeAllYouCan-OFFICIAL

Trending Topics

Online now

Members online
472
Guests online
3,053
Total visitors
3,525

Forum statistics

Threads
2,307,485
Posts
29,179,280
Members
1,193,482
Latest member
Snertz
Back
Top