int func( int arr[], int n) { int result = 0, i = 0; for ( i = 0; i<n; i++) resu
ID: 3741448 • Letter: I
Question
int func( int arr[], int n)
{
int result = 0, i = 0;
for ( i = 0; i<n; i++)
result ^= arr[i];
return result;
}
Explanation / Answer
6.
(a) 1
7.
It calculate the sum of elements of arrray by remove pairs of elements with same value from array
(d) None of above
8.
c = 'A' + 011 gives 'J'
c = 'A' + 2 gives 'C'
(d) None of above
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.