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

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

1 Answers  


Where can I run c++ program?

0 Answers  


Why iomanip is used in c++?

0 Answers  


Write the program for fibonacci in c++?

20 Answers   TATA, Wipro,


Write a program in C++ for Fibonacci series

0 Answers   Axtria, ITC Indian Tobacco Company,


Explain abstraction.

0 Answers  


Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program

0 Answers   Maxobiz,


Difference between inline functions and macros?

0 Answers  


What is the v-ptr?

0 Answers  


When can you tell that a memory leak will occur?

1 Answers  


What is heap sort in c++?

0 Answers  


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

0 Answers   TCS,


Categories