void openfile(char *,FILE**)
what does double stars indicates
seemant_sun 8 Newbie Poster
Recommended Answers
Jump to Postvoid openfile(char *,FILE**)
what does double stars indicatesThe second argument type is a pointer to a pointer to FILE type.
Didn't you understand what's a pointer?
Evidently this function returns FILE* pointer via this argument. What's a strange perversion...
Jump to PostWell, it has one advantage over a return value -- you have to pass in an address, whereas you could ignore a return value. :) I don't think that's how I would write it, though.
Jump to Post>>you have to pass in an address
Not if you pass NULL.
Jump to PostHow many times a pointer operator can appear with pointer to pointer declaration.
int a; int *p; int **q; int ***r; int ****s; .... p=&a; q=&p; r=&q; s=&r; ...
Is there any limit imposed by ANSI?
All 14 Replies
ArkM 1,090 Postaholic
dwks 149 Posting Whiz in Training
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
kvprajapati 1,826 Posting Genius Team Colleague
ArkM 1,090 Postaholic
csurfer 422 Posting Pro
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
jephthah 1,888 Posting Maven
ArkM 1,090 Postaholic
csurfer 422 Posting Pro
ArkM 1,090 Postaholic
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
jephthah 1,888 Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.