Sail E0 Webinar
Question


What is the output of this program?


1.
#include
2.
using namespace std;
3.
void print(int i)
4.
{
5.
cout
Options:
A .  5500.263
B .  500.2635
C .  500.263
D .  none of the mentioned
Answer: Option A

In this program, we are printing the values and the values will be print(5) will be printed first 

because of the order of the execution.
Output:
$ g++ over.cpp
$ a.out
5500.263



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers