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

Trending Topics

Online now

Members online
1,117
Guests online
2,374
Total visitors
3,491

Forum statistics

Threads
2,332,278
Posts
29,263,838
Members
1,146,180
Latest member
muhsin42
Back
Top