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 do you know about near, far and huge pointer?

0 Answers  


What are member functions used in c++?

0 Answers  


What is the use of "new" operator?

0 Answers  


Is it possible for a member function to use delete this?

0 Answers  


what is the use of void main() in C++ language?

0 Answers  


How does c++ sort work?

0 Answers  


Explain the difference between struct and class in terms of access modifier.

0 Answers  


Which programming language should I learn first?

0 Answers  


Explain what is polymorphism in c++?

0 Answers  


Is c++ still being used?

0 Answers  


Which bit wise operator is suitable for turning off a particular bit in a number?

0 Answers  


What is an Object/Instance?

1 Answers  


Categories