If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
The above line of the code gets executed using the C++ program, the output will give 10 as value of b at the prompt. It will process the b+=(5%7*2), as b values is already given as 6 then it will add, to the assigned value to the result got from the expression. if properly syntaxes and executed the program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
What is R T T I ?
what type of question are asked in thoughtworks pair programming round ?
what is meant by files?
What do we mean by a hidden argument in C++?
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
Can we have a private virtual method ?
A file pointer always contains the __________ of the file
any one please tell me the purpose of operator overloading
Why static functions always uses static variables?
What is a macro? And how is a macro same as a template?
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)