English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

This is a pre-test study question for an upcoming test that deals with pointer variables.

Know whether or not a name is associated with the pointer data type in C++.

I don't quite understand what this is referring to...i mean every pointer has to have a variable name..(ex int *varname), but is that what this question is to referring to?

2006-11-13 10:45:07 · 2 answers · asked by D 4 in Computers & Internet Programming & Design

2 answers

Not necessarily.

You can have a pointer to a pointer.

char **pp;

*p points to an unnamed pointer.

In c, pointer to a pointer is a required construct, as the ref parameter (&) does not exist.

HTH-

2006-11-13 13:48:40 · answer #1 · answered by Steve A 2 · 0 0

hope this helps

2006-11-13 18:52:55 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers