Difference Between   char* s = "string";   and   char s[] = "string";

This page answers questions like these:


Related Links:
Difference Between char* and char [] and char s[n]
warning/error: invalid conversion from 'char**' to 'const char**'



Difference Between   char* s = "string";   and   char s[] = "string";

char* s = "string"; char s[] = "string";


Related Links:
Difference Between char* and char [] and char s[n]
warning/error: invalid conversion from 'char**' to 'const char**'

Home  >  C++ / C  >  Difference Between   char* s = "string";   and   char s[] = "string";


Tags: char*, char[], char array, struct, class, unbounded array, C++, C

Copyright © HelpDoco.com
difference-between-char-star-equals-string-and-char-array-equals-string.txt
C++-C/difference-between-char-pointer-equals-and-char-array-equals.htm
1