2 2 votes Declare an array of N pointers to functions returning pointers to functions returning pointers to characters? A) (char*) (*ptr[N])( ) (B) (char*(*)) (*ptr[N])( ) (C) (char*(*)( )) (*ptr[N])( ) (D) (char*(*)( )) (*ptr[N]) Unknown Category programming-in-c programming output + – manisha11 1.6k views answer comment Share Follow Print See all 10 Comments 10 10 Comments reply Shaik Masthan commented Sep 13, 2018 reply Follow flag where you get these declarations? 0 0 replyShare manisha11 commented Sep 13, 2018 reply Follow flag Declare an array of N pointers to functions returning pointers to functions returning pointers to characters? 0 0 replyShare Shaik Masthan commented Sep 13, 2018 reply Follow flag Declare an array of N pointers to functions returning pointers to functions returning pointers to characters? char * ( * ( * ptr [N] ) () ) (); 0 0 replyShare Magma commented Sep 13, 2018 reply Follow flag Shaik Masthan what is wrong in option A ?? I think Option A is right 0 0 replyShare manisha11 commented Sep 13, 2018 reply Follow flag C is the answer 0 0 replyShare Shaik Masthan commented Sep 13, 2018 reply Follow flag @Magma what is wrong in option A ?? can you say, how to read it. read my comment, char * ( * ( * ptr [N] ) () ) (); isn't it "ptr is a array of N pointers to function returning pointer to function returning pointer to character" reference :- https://www.geeksforgeeks.org/complicated-declarations-in-c/ 1 1 replyShare Magma commented Sep 13, 2018 reply Follow flag yes , you're correct 0 0 replyShare Shaik Masthan commented Sep 13, 2018 reply Follow flag @manisha11 check this https://drive.google.com/open?id=1aCnnVZmmSouT-2JjTnLSY0ZzhogalBDB 1 1 replyShare Hira Thakur commented Sep 13, 2018 reply Follow flag it's C?? 0 0 replyShare Shaik Masthan commented Sep 13, 2018 reply Follow flag @Hira Thakur yes, it is given that C is the answer. did you know how to read it? 0 0 replyShare Please log in or register to add a comment.
2 2 votes Correct option is (C). For more Detail solution Follow this link then only you can understand this : https://www.youtube.com/watch?v=LPABbqfElA8&list=PLsFENPUZBqipuTJXgm7xAOR0UnY_8OY07&index=31 Thank You. Sakshi Jaiswal answered Sep 30, 2018 Sakshi Jaiswal comment Share Follow See 1 comment 1 1 comment reply Shaik Masthan commented Oct 20, 2018 reply Follow flag the video is correct, but the answer is wrong ! read the comments 0 0 replyShare Please log in or register to add a comment.