Problem with pointers to objects

Please can someone tell what this really is. I mean, is it a pointer to 5 Strings class objects in an array or an array of 5 pointers to Strings class objects.

Here is the code.

 
 Strings *ptr[5];


And again please can I do this.
 
Strings *ptr = new Strings;
Strings *ptr[5]; This is an array of 5 pointers to Strings

Strings *ptr = new Strings; This is pointer to a single object of type Strings
Okay thanks. Got it
Topic archived. No new replies allowed.