Skip to main content

All Questions

Filter by
Sorted by
Tagged with
-2 votes
4 answers
2k views

C simple arrays and pointers question

So here's the confusion, let's say I declare an array of characters char name[3] = "Sam"; and then I declare another array but this time using pointers char * name = "Sam"; What's the difference ...
Nash Vail's user avatar
  • 101