Question
1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
int a = 0;
6.
int b = 10;
7.
if ( a && b )
8.
{
9.
cout
What is the output of this program?
1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
int a = 0;
6.
int b = 10;
7.
if ( a && b )
8.
{
9.
cout
Answer: Option B
Was this answer helpful ?
&& is called as Logical AND operator, if there is no zero in the operand means, it will be true
Was this answer helpful ?
More Questions on This Topic :
Question 2.
What are the essential operators in c++?
....
Question 5.
Pick out the compound assignment statement.
....
Submit Solution