Home > Back-end >  Pointer to an array
Pointer to an array

Time:09-27

If there are defined:
Char * ps []={" aa ", "bb", "cc", "dd"}; ,
The following is true (),

A * ps [0] is the character 'A' B * ps [0] is the string "aa" Cps [0] is the characters' A 'Dps is the string "aa"

[the]

A

[resolution]

The pointer array, ps [0] is the address of the first string,
Why did you choose A, o great god explains


CodePudding user response:

Ps [0] is the string "aa"
So * ps [0] is the characters' a '
  • Related