1.

What will be the output of this program?
#include 
using namespace std;
int main()
{
int P = 20;
cout << "Given integer 'P' with 'true' :" << P && true;
return 0;
}

A. Given integer 'P' with 'true' :20
B. Given integer 'P' with 'true' :0
C. Given integer 'P' with 'true' :2
D. All of above
E. None of these
Answer» B. Given integer 'P' with 'true' :0


Discussion

No Comment Found

Related MCQs