Click to See Complete Forum and Search --> : How do one say *++argv in words, in english?


veronikad
October 6th, 2008, 04:29 AM
Hello!
This question is about C and pointers, and the point is how to say the words correctly in enlish. So if you have knowledge in other pointer-programming-languages you can probably give me a good answer anyway.

Read the line under this:

Print (“ % s % c”, *++ argv, (argc > 1) ? ‘ ‘ : ‘\n ‘);
How do one say *++argv in words, in english?
Because the *-sign is probably a pointer in this sentance, should it be read:
Pointer plus plus argv
Or
Plus plus argv of pointers?
Or can I just call it asterisk? (I dont belive so)
Best reagards
Veronika

Marc G
October 6th, 2008, 10:30 AM
No, in this case the * is not a pointer. ++argv is a pointer and the star in front of it will dereference that pointer. I would just say something like "star plus plus argv".