which one has better memory utilization and how?
             char s[2][20]={"hi","hello"};
             char *s={"hi","hello"};

[mod- Since the second violates a constraint, the former
is preferable. Perhaps you meant...

  char *s[] = { "hi", "hello" };

But realise that this version is an array of pointers to
strings that _can't_ be modified. --mod PN]

Reply via email to