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 8 years, 10 months ago by M. Saqib.
      • This reply was modified 5 years, 3 months ago by M. Saqib.
      • This reply was modified 5 years, 3 months ago by M. 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
  • The forum ‘C Programming’ is closed to new topics and replies.