+ 1

#include<stdio.h> #include<string.h> int main() { char str[20] = "Hello World!"; printf("String before strrev(): %s\n",str)

Please anyone,i can't be able to run this code, what is the problem in my program, i only use cellphone for my program, because i don't have enough money to buy a laptop or pc. Please help me..what can i do..or what is the best compiler for this program.

1st Jul 2022, 2:16 AM
Rona Vicente
Rona Vicente - avatar
1 ответ
+ 4
#include<stdio.h> #include<string.h> int main() { char str[20] = "Hello World!"; printf("String before strrev(): %s\n",str); return 0; } *Main should return *you alse.forget semicolon after printf function One closing braces too...
1st Jul 2022, 2:56 AM
Mihir Lalwani
Mihir Lalwani - avatar