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 = y) x = 2*z;

Answers were Sorted based on User's Feedback



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

Answer / rose

if(x==y)
{
x=2*z;
}

Is This Answer Correct ?    1 Yes 1 No

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

Answer / kannan

if(x==y)
printf("x=2*z");

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What do the keywords volatile and mean mutable?

0 Answers  


Explain what are accessor methods?

0 Answers  


What is the use of c++ programming language in real life?

0 Answers  


What can c++ be used for?

0 Answers  


Do we have to use initialization list in spite of the assignment in constructors?

0 Answers  


Explain the difference between new() and malloc() in c++?

0 Answers  


What is runtime polymorphism in c++?

0 Answers  


What relational operators if statements in c++?

0 Answers  


What is object in c++ wikipedia?

0 Answers  


What do you mean by pure virtual functions in C++? Give an example?

1 Answers  


How would you represent an error detected during constructor of an object?

1 Answers  


What is object oriented programming (oop)?

0 Answers  


Categories