Write a corrected statement in c++ so that the statement
will work properly. x + y=z;

Answers were Sorted based on User's Feedback



Write a corrected statement in c++ so that the statement will work properly. x + y=z;..

Answer / rose

z= x+y


Is This Answer Correct ?    4 Yes 0 No

Write a corrected statement in c++ so that the statement will work properly. x + y=z;..

Answer / ravin

z=x+y;

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More C++ General Interview Questions

Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.

0 Answers   Maxobiz,


What are the important differences between c++ and java?

0 Answers  


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

0 Answers   Yahoo,


How would you call C functions from C++ and vice versa?

0 Answers   Genpact,


How many ways are there to initialize an int with a constant?

1 Answers  






What is the difference between while and do while loop? Explain with examples.

0 Answers  


How is c++ different from java?

0 Answers  


What happens when the extern "c" char func (char*,waste) executes?

0 Answers  


Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,


What is stl containers in c++?

0 Answers  


what is Member Functions in Classes?

0 Answers  


Why do we use the using declaration?

0 Answers  


Categories