Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
WAP in C to print the reverse of a string
//gcc 5.4.0 #include <stdio.h> int main(int argc,char*argv[]) { char s[100]="REXTESTER", r[100],count=0; int n, c, d,i; for(i=0;s[i]!='\0';i++) { count++; } n = count; for (c = n - 1, d = 0; c >= 0; c--, d++) r[d] = s[c]; r[d] = '\0'; printf("%s\n", r); return 0; }
run
|
edit
|
history
|
help
1
recurs fibo1
C programming example implementing a function to set a specified bit in an int (from ECE 2534)
ele709 lab 3.2
Greeting
C code to compare two texts in form of array of chars ignoring the capitalization
selection sort
Basic String Compression in C
c. new one
open(): No such file or directory
final advice