Pointer to a Vargs function

Home Forums C Programming Pointer to a Vargs function

This topic contains 2 replies, has 2 voices, and was last updated by  shalizy 9 years, 10 months ago.

  • Author
    Posts
  • #2058

    Tanishq
    Member

    Hi Folks!!!!!

    How can i define a pointer to a function with variable number of args..
    However void pointer can hold the address of these functions , is there any other way of doing it …..

    Ex: Declaration of a pointer to printf or scanf………..
    Comments will be appreciated……

  • #3317

    shalizy
    Member

    What’s the problem!!!!!

    It’s working!!!!!

  • #3318

    shalizy
    Member

    Why you are saying for void pointer. No logic to say here ” void pointer”. Only return type will be generic in case of void pointer.

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble