C++ MQCs with Explanation (CHAPTER 4: FUNCTIONS IN C++)

Which of the following function prototypes is invalid?

  1. void exchange (int, int);
  2. void exchange (int a, int b);
  3. void exchange (int x, y);
  4. void exchange (float, int);



Answer: 
Option d:void exchange (float, int);

Explanation Here

Post a Comment

0 Comments