Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Reverse.CPP
#include <stdio.h> void main() { int n,recerse=0,rem; printf("Enter a num:"); scanf("%d",&n); while(n!=0) {rem=n%10; reverse=reverse*10+rem; n/10=10; } printf("Reverse num:%d",reverse); }
run
|
edit
|
history
|
help
0
C - printf precision modifiers
1.4 Thread IDs
Beginning linux
Spring 2017 Project 2 v1.5
3.1.2 Matrix add/sub file concept
X=1
lol
MEMORy eRROR
FirstCProg
Assignment 10