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

Answer Posted / ravin

x+=7;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an associative container in c++?

542


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

556


What is capacity in vector in c++?

542


What are the uses of pointers?

571


Is c++ map a hash table?

561






What is data binding in c++?

501


When there is a global variable and local variable with the same name, how will you access the global variable?

614


When is dynamic checking necessary?

594


Write a function that swaps the values of two integers, using int* as the argument type?

602


What are different types of loops in c++?

648


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

605


Can member functions be private?

591


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1503


What is helper in c++?

563


Define linked lists with the help of an example.

548