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

Trending Topics

Online now

Members online
1,190
Guests online
5,767
Total visitors
6,957

Forum statistics

Threads
2,354,517
Posts
29,383,964
Members
1,079,474
Latest member
marktzy1276281
Back
Top