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


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

Extracted text: Q.3) What is the output of the following C++ programs? Part A # include # include # include # include main() main() { int X[5]={2,4,5,1,8}; { int X[5]={2,4,5,1,8}; cout< x[2]="" %="" x[0];="" getch="" ();="" 1="">< --x[0];="" 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