+ 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.
1 Réponse
+ 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...