Vidyalelo
C++ Programming · Q61

Functions and Procedures in C++

Programming · C++ Programming · question 61

Q61

What will be the output of the following C++ code? #include using namespace std; void print(int i) cout << i; void print(double f) cout << f; int main(void) print(5); print(500.263); return 0;

A.
5500.263
Answer
B.
500.2635
C.
500.263
D.
500.266

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board