- 1

#include <stdio.h> int main () { char s1[20]="java"; printf ("progming = %s",s1); printf ("\nprogming=%s",strrev(s1)); retur

#include <stdio.h> int main () { char s1[20]="java"; printf ("progming = %s",s1); printf ("\nprogming=%s",strrev(s1)); return 0; }

10th May 2021, 3:35 AM
Deep patel
Deep patel - avatar
5 ответов
+ 2
The program will not run on SL as strrev() is not a standard function. In-fact I don't think C have any library function to reverse a string, so you have to do it manually.
10th May 2021, 4:37 AM
Arsenic
Arsenic - avatar
0
Deep patel What is your problem?
10th May 2021, 3:45 AM
A͢J
A͢J - avatar
0
Tx friends
10th May 2021, 4:55 AM
Deep patel
Deep patel - avatar
- 1
Please run my program
10th May 2021, 3:36 AM
Deep patel
Deep patel - avatar
- 1
solve this problem by counting number of characters (length of string) , apply loop from last to fist character !
10th May 2021, 4:53 AM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar