Question
#include <iostream>
using namespace std;
int main()
{
int a;
a = 5 + 3 * 5;
cout << a;
return 0;
}
a.
35
b.
20
c.
25
d.
30
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the output of this program?
Similar Questions
Discover Related MCQs
Q. What is the use of dynamic_cast operator?
View solution
Q. How many sequence of statements are present in c++?
View solution
Q. The if..else statement can be replaced by which operator?
View solution
Q. The switch statement is also called as?
View solution
Q. The destination statement for the goto label is identified by what label?
View solution
Q. How many types of loops are there?
View solution
Q. Which looping process is best used when the number of iterations is known?
View solution
Q. How many types of comments are there in c++?
View solution
Q. What is a comment in c++?
View solution
Q. What type of comments does c++ support?
View solution
Q. What is used to write multi line comment in c++?
View solution
Q. What is the use of the indentation in c++?
View solution
Q. What will happen when we use void in argument passing?
View solution
Q. Where does the execution of the program starts?
View solution
Q. What are mandatory parts in function declaration?
View solution
Q. which of the following is used to terminate the function declaration?
View solution
Q. How many max number of arguments can present in function in c99 compiler?
View solution
Q. Which is more effective while calling the functions?
View solution
Q. What is the scope of the variable declared in the user definied function?
View solution
Q. How many minimum number of functions are need to be presented in c++?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!