What is the output of the following C++ programs? # include # include main() { int X[5]={2,4,5,1,8}; cout # include # include main() { int X[5]={2, 4,5,1,8}; cout


What is the output of the following C++<br>programs?<br># include<iostream.h><br># include<conio.h><br>main()<br>{<br>int X[5]={2,4,5,1,8};<br>cout<< (X[2]==4);<br>getch ();<br># include<iostream.h><br># include<conio.h><br># include <limits.h><br>main()<br>{<br>int X[5]={2, 4,5,1,8};<br>cout<< sizeof (X);<br>getch ();<br>1<br>

Extracted text: What is the output of the following C++ programs? # include # include main() { int X[5]={2,4,5,1,8}; cout< (x[2]="=4);" getch="" ();="" #=""> # include # include main() { int X[5]={2, 4,5,1,8}; cout< sizeof="" (x);="" getch="" ();="">

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here