What is the output of this program?
1. #include2. using namespace std; 3. int main() 4. { 5. int a = 20; 6. int b = 10; 7. int c = 15; 8. int d = 5; 9. int e; 10. e = a + b * c / d; 11. cout << e << endl ; 12. return 0; 13. }
Which operator is having the highest precedence in c++?
What is the name of | operator?
What is the associativity of add(+);
What is the output of this program?
1. #include2. using namespace std; 3. int main() 4. { 5. int a = 0; 6. int b = 10; 7. if ( a && b ) 8. { 9. cout << "true"<< endl ; 10. } 11. else 12. { 13. cout << "false"<< endl ; 14. } 15. return 0; 16. }