Pointer to a Vargs function

Home Forums C Programming Pointer to a Vargs function

Viewing 2 reply threads
  • Author
    Posts
    • #2058
      Tanishq
      Participant

      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
      Participant

      What’s the problem!!!!!

      It’s working!!!!!

      • This reply was modified 4 years, 8 months ago by saqib.
      • This reply was modified 1 year, 2 months ago by saqib.
      • This reply was modified 1 year, 2 months ago by saqib.
    • #3318
      shalizy
      Participant

      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.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.