Quiz-5
Analytics below shows your performance in various Mocks on PrepInsta
Your average Analytics for this Quiz
Rank
-
Percentile
0%
Related Banners
Check out our instagram
PrepInsta Prime
Get over 200+ course One Subscription
PrepInsta Prime
Get over 200+ course One Subscription
Get PrepInsta Prime Subscription
Companies
TCS, Cognizant, Delloite, Infosys, Wipro, CoCubes, KPMG, Amazone, ZS Associates, Accenture, Congnizant & other 50+ companies
Programming
Data Structures, Top 500 Codes, C, C++, Java Python & other 10+ subjects
Skills
Full Stack Web Development, Data Science, Machine Learning, AWS Cloud, & other 10+ skills and 20+ projects
Companies
TCS, Cognizant, Delloite, Infosys, Wipro, CoCubes, KPMG, Amazone, ZS Associates, Accenture, Congnizant & other 50+ companies
Programming
TCS, Cognizant, Delloite, Infosys, Wipro, CoCubes, KPMG, Amazone, ZS Associates, Accenture, Congnizant & other 50+ companies
Skills
TCS, Cognizant, Delloite, Infosys, Wipro, CoCubes, KPMG, Amazone, ZS Associates, Accenture, Congnizant & other 50+ companies
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