What will ...
Site Language: English
Terms and Conditions
What will be the value of a
variable after the following code's execution:
int a=4; int b=3; double c=a/b;
Compilation error will occur
Since a and b are of
type, then a/b will perform an integer division, therefore a/b = 1.
What will be the value of variable a after the following code is executed? ...
What is the value of the 3/5*5 expression in C ++?...
No-promotion arithmetic types conversions
Login to learn C++
Read more about
Will the following code compile? If no - which lines will compilation errors occ...
What will be printed out as a result of the following program's execution? ...
What is the result of the following program's execution? ...
What will printed out by cout? #include <iostream>...
Which of the following should be true for pointers subtraction to make sense?...
What types of comments are available in C ++?...
Sign Up Now
Subscribe for future quizzes