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

Define pure virtual function?

0 Answers  


Can class objects be passed as function arguments?

0 Answers   HCL,


What are stacks? Give an example where they are useful.

0 Answers  


What is c++ manipulator?

0 Answers  


What kind of problems can be solved by a namespace?

0 Answers  


What is the identity function in c++? How is it useful?

0 Answers  


What is the difference between global int and static int declaration?

0 Answers  


Write a program in C++ for Fibonacci series

0 Answers   Axtria, ITC Indian Tobacco Company,


What is a loop? What are different types of loops in c++?

0 Answers  


What is the use of seekg in c++?

0 Answers  


What is c++ redistributable?

0 Answers  


what is a reference variable in C++?

0 Answers  


Categories