Computer Science, asked by knrajput9477, 1 year ago

What do the declaration int(*pf)() signify?

Answers

Answered by ruchichouhan
6
This means that variables declared with the pf type are pointers to a function which takes two int parameters and returns an int .
Answered by smartbrainz
0

pf is a pointer to a function which return int

Explanation:

The following is the details of it.

  • int - the type of this variable is of type int which is typically 2–4 bytes depending on the system.
  • (*pf) - along with the type declaration of int, this is a declaration of an abstract pointer to type int.
  • () - building upon the declaration of the int (*pf) abstract pointer, we have another parenthesis which then finalizes the declaration as a pointer to a function of an unknown amount of parameters and returns an int.

To know more

What is pointer in c programming language

https://brainly.in/question/823702

What are pointers in c language

https://brainly.in/question/6070040

Similar questions