Question: [ 7 . 8 . b ] What is the output of the following code? void funct ( int num , int size ) {

[7.8.b] What is the output of the following code?
void funct (int num , int size)
{
for(int i=0;i size ;i++
num [i]+=i
}
int main()
{
int array []={1,8,3,4};
funct(array,4);
cout array[1] endl
return 0 ;
}
 [7.8.b] What is the output of the following code? void funct

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!