πŸ“Š C Programming
Q. Which of the following is a correct declaration of a function pointer?
  • (A) int *f();
  • (B) int (*f)();
  • (C) *int f();
  • (D) f int*();
πŸ’¬ Discuss
βœ… Correct Answer: (B) int (*f)();

Explanation: int (*f)(); declares a pointer to a function returning int.

Explanation by: Mr. Dubey
int (*f)(); declares a pointer to a function returning int.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
62
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate