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

Trending Topics

Online now

Members online
1,113
Guests online
1,503
Total visitors
2,616

Forum statistics

Threads
2,294,324
Posts
29,090,305
Members
1,207,274
Latest member
bryDee
Back
Top