I am working with strings .
Whenever I execute the following program I get an error as deprecated conversion from string constant to 'char' in c* on the line char *p = "hello"
What am i doing wrong?
What does this error mean ?How can i correct it?
My code is:
#include<stdio.h>
int main()
{
char *p = "hello";
printf("%s",p+1);
return 0;
}