+ 1
Wht wrong in my code
5 Answers
+ 6
its just <string>, don't need the .h
the features you are trying to use seem to be not supported by sololearns compiler
+ 5
** void main is not valid c++, never has been, never will be.
See creators note:
http://www.stroustrup.com/bs_faq2.html#void-main
+ 1
I think it is cstring and not string.h. Also, void main not int main
@jay well I stand corrected, thank you :)
+ 1
no some other problem
+ 1
strrev( ) function reverses a given string in C language. Syntax for strrev( ) function is given below.
char *strrev(char *string);strrev( )Â function is non standard function which may not available in standard library in C.