Quiz-5
One Subscription, For Everything
The new cool way of learning and upskilling -
One Subscription access everything
Get Access to PrepInsta Prime
from FAANG/IITs/TOP MNC's
PrepInstaPrime
Get over 200+ course One Subscription
Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.
Comments
Login/Signup to comment
#include
int fun(int x,int y,int z)
{
if(x>y && y>z)
{
return fun(y,x,z);
}
if(y>z && z>x)
{
return fun(z,y,x);
}
if(z>y && z>x)
{
return fun(x,y,z);
}
}
int main()
{
int a=10,b=15,c=20;
a=a+b;
b=a+c;
c=b+c;
fun(a,b,c);
}
Can u explain how ans is run time error ??
Sir,output of question 2 is incorrect .Please make it correct and also in quiz 4 there were 2-3 questions having wrong output.
Thanks for pointing out the mistake Vishal, we’ll fix it up rn
Sir Why are all explanations in program form?There is no good explanation..I want my back..!What will be the process
Hey Nafisa, it is pseudo code, the best way to explain them is when we give you the entire code and explain its working. What kind of explanations are you looking for, could you please explain