Feedback for subjective question

Report on solved past papers subjective question
Question 1: What will be the output of following code segment?
void func(int [], int);
main(){
int arr[5] = {2, 3, 5, 6, 7} ;
func(arr, 5) ;
for (int i = 0; i<5; i++)
cout << arr[i] << " ";
}
void func(int a[], int size){
for (int i = 0; i<size; i++)
a[i] = 2*a[i];
}

Please login to submit feedback on subjective question.

Login Now

Account Related


Earnings Related


Funds Related


Live Related


Sponsored

Theme Customizer

Gaussian Texture



Gradient Background