Sail E0 Webinar
Question

What is the output of given code fragment?


int f=1, i=2;
while(++i<5)
f*=i;
cout<<f;
Options:
A .  12
B .  24
C .  6
D .  3
Answer: Option A



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers