Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > [Q]const char *...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 25382 of 27670
Post > Topic >>

[Q]const char *const * ??

by itsolution@[EMAIL PROTECTED] Apr 5, 2008 at 07:10 PM

Hi Guys,


When a function has following arg type,
update_data(const char *const *  update_list,...)

exactly what object type update_list   can take?

For example,  I can call update_aaa()  using following variale as an
arg:
const char *updatelist_default[]={ "aaa", "bbb",    NULL};

Then,  why the 2nd 'const' is necessary ?  I mean,
update_data(const char * *  update_list,...)  would work. But actually
not!
 




 4 Posts in Topic:
[Q]const char *const * ??
itsolution@[EMAIL PROTECT  2008-04-05 19:10:10 
Re: const char *const * ??
itsolution@[EMAIL PROTECT  2008-04-05 20:34:43 
Re: const char *const * ??
"copx" <copx  2008-04-06 08:21:16 
Re: [Q]const char *const * ??
"copx" <copx  2008-04-06 08:13:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 21:53:24 CDT 2008.