Operators and Statements C++ Questions And Answers
Here you can find Operators and Statements C++ Questions and Answers.
Why Operators and Statements C++ Questions and Answers Required?
In this Operators and Statements C++ Questions and Answers section you can learn and practice Operators and Statements C++ Questions and Answers to improve your skills in order to face technical inerview
conducted by Banks. By Practicing these interview questions, you can easily crack any Bank Exams interview.
Where can I get Operators and Statements C++ Questions and Answers?
AllIndiaExams provides you lots Operators and Statements C++ Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download
Operators and Statements C++ Questions and Answers as PDF files and eBooks.
How to solve these Operators and Statements C++ Questions and Answers?
You no need to worry, we have given lots of Operators and Statements C++ Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams interview.
Operators and Statements C++ Questions & Answers
1. Which operator is having right to left associativity in the following?
Operators and Statements C++ Questions & Answers
2. Which operator is having the highest precedence?
Operators and Statements C++ Questions & Answers
3. What is this operator called ?: ?
Operators and Statements C++ Questions & Answers
4. What is the output of this program?
#include
using namespace std;
int main()
{
int a;
a = 5 + 3 * 5;
cout << a;
return 0;
}
Operators and Statements C++ Questions & Answers
5. What is the use of dynamic_cast operator?
Operators and Statements C++ Questions & Answers
6. What is the output of this program?
#include < iostream >
using namespace std;
int main()
{
int a = 5, b = 6, c, d;
c = a, b;
d = (a, b);
cout << c << 't' << d;
return 0;
}
Operators and Statements C++ Questions & Answers
7. What is the output of this program?
#include < iostream >
using namespace std;
int main()
{
int i, j;
j = 10;
i = (j++, j + 100, 999 + j);
cout << i;
return 0;
}
Operators and Statements C++ Questions & Answers
8. What is the output of this program?
#include < iostream >
using namespace std;
int main ()
{
int x, y;
x = 5;
y = ++x * ++x;
cout << x << y;
x = 5;
y = x++ * ++x;
cout << x << y;
return 0;
}
Operators and Statements C++ Questions & Answers
9. What is the output of this program?
#include < iostream >
using namespace std;
int main()
{
int a = 5, b = 6, c;
c = (a > b) ? a : b;
cout << c;
return 0;
}
Operators and Statements C++ Questions & Answers
10. What is the output of this program?
#include < iostream >
using namespace std;
main()
{
double a = 21.09399;
float b = 10.20;
int c ,d;
8. c = (int) a;
d = (int) b;
cout << c <<'t'<< d;
return 0;
}