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

make a middle node of doubly linklist to the top of the list

1 Answers  


What is meant by iomanip in c++?

0 Answers  


Friend functions can access private and protected members of a class.

1 Answers  


What is the output of: String a1 = "Hello"; String a2 = "world!"; String* s1 = &a2; String& s2 = a1; s1 = &a1; s2 = a2; std::cout << *s1 << " " << s2 << std::endl;

4 Answers   Lehman Brothers,


Who made c++?

0 Answers  


What are the operators in c++?

0 Answers  


Explain differences between new() and delete()?

0 Answers  


Is vector a class in c++?

0 Answers  


What is difference between array and vector in c++?

0 Answers  


What is c++ library?

0 Answers  


Which software is best for c++ programming?

0 Answers  


What is main function in c++ with example?

0 Answers  


Categories