0
What will be the output
#include<iostream.h> Using namespace std; Int main(){ Int x = 2, y=0; Int a=x && y; cout<<a; }
3 Answers
+ 3
Thank you for asking. The code won't compile. It's "iostream" without ".h". "Using" and "Int" must not be capitalized. If you remove all errors, the output will be 0 because 2 && 0 is false (0)
+ 1
A compilation error will be raised as
At first, the library is wrong :
#include<iostream.h>
instead of
#include <iostream>
Second,
U from Using is Capital
Third,
Same issue with Int
+ 1
Thank you for your kind response I will take care about this error.



