what is strcture
i++ i ++i answer to this i=5 what is the out put
Answer Posted / bala
My answer is
1.
#include<iostream>
using namespace std;
int main()
{
int i = 5;
cout << ++i << i << i++ << endl;
return 0;
}
ANS:765
2.
#include<iostream>
using namespace std;
int main()
{
int i = 5;
cout << ++i ;
cout << i ;
cout << i++ << endl;
return 0;
}
ANS:666
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What are the different types of stl containers?
What is stl stand for?
Why should a c++ programmer be interested in stl?
what is template and type convertion
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
Explain stl.
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
What are the components of stl?
What do stl stand for?
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
how to use C++?
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.