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...


Write a corrected statement in c++ so that the statement
will work properly. if (x > 5); y = 2*x; else y += 3+x;



Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*..

Answer / rose

if(x>5)
{
y=2*x
}
else
{
int temp;
temp=3+x;
y+= temp;
}

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C++ General Interview Questions

What is c++ and its uses?

0 Answers  


Why are pointers used?

0 Answers  


Explain RAII (Resource Acquisition Is Initialization).

3 Answers  


Describe public access specifiers?

0 Answers  


What is the difference between the functions memmove() and memcpy()?

0 Answers  


How do you declare A pointer to a function which receives nothing and returns nothing

0 Answers  


When should we use multiple inheritance?

0 Answers  


What is data types c++?

0 Answers  


What is the best c++ book for beginners?

0 Answers  


What is difference between n and endl in c++?

0 Answers  


What is expression parser in c++

0 Answers   Mphasis,


Are php strings immutable?

0 Answers  


Categories