When we write argv[1] its the address of 1st character of the string pointed to by argvWhen we increment argv the address is of the the second string ie fridayWhen we write *++argv[1] its prints the 1st alphabet of the string friday
No, the declarations are not same Let us take see each one of them1. const char *s;
Here the char is constant hence const char *s="hello" ; //alloweds[3]='o' ;//error as char is constants="bye";//thi...
i am sorry....actually there is no difference b/w const char *s;andchar const *s;but there is a difference b/w above two and and the below oneThe first two are interchangeable; they declare a pointer ...