Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Given the following seqment of code containing a group of
nested if instructions: y = 9; if ((x==3) || (x == 5)) y++;
else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8;
if the value of x is 4 before the nested IFs are executed,
what is the value of y after the nested IFs are executed?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What does iomanip mean in c++?

0 Answers  


What is polymorphism & list its types in c++?

0 Answers  


Why can’t you call invariants() as the first line of your constructor?

0 Answers  


In java a final class is a class that cannot be derived. How can you make a similar class in C++

1 Answers  


In what situations do you have to use initialization list rather than assignment in constructors?

0 Answers  


What is function declaration in c++ with example?

0 Answers  


How the delete operator differs from the delete[]operator?

0 Answers  


When the design recommends static functions?

2 Answers   Symphony,


Are vectors faster than arrays?

0 Answers  


What is a c++ object?

0 Answers  


How can I learn dev c++ programming?

0 Answers  


What is the basic structure of c++ program?

0 Answers  


Categories