aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Masters of Computer Application (C++)
  • What is the output of the following expression? int a=16,...
Multiple choice

What is the output of the following expression? int a=16,b= -8; cout<

  1. 1

  2. 0

    • 1
  3. 0.0

Reveal answer Fill a bubble to check yourself
B Correct answer

Keep practicing — related questions

  • What will be the output for the following? int i=2; if(i) cout<<i++; else cout<< --i;
  • What is the output of the following program? void main() { int z=-1; cout<<z+5<< , <<z+3<< , <<z; }
  • What will be the output of the following C++ statement? cout<<4.5%3;
  • What is the output of the following program? #include<iostream.h> void fun(int &a,int &b) { a=a*b; b=b-a; a...
  • What is the output of the following program?#include void main() { int x=7,y=6,z; z=x-- -y; cout< }
  • What will be the output of the following code: main() { int a=10,b=20; a=a^b; b=a^b; a=a^b; cout<
  • what is the output of the following program
  • What is the output of the following program? void main(); { int a=5,b=5; cout<<a++; cout<< -> ; cout<<++a; ...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy