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

This page answers questions like these:

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]

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


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

Src: difference-between-char-star-equals-string-and-char-array-equals-string.txt
Dst: C++-C/difference-between-char-pointer-equals-and-char-array-equals.htm
Ads: 2