Q350
What is the output of the following code? #include using namespace std; void printArray(int p[], int n) for (int i = 0; i = 0 && p[k] == 1) rem_val += p[k]; k--; if (k p[k]) p[k+1] = p[k]; rem_val = rem_val - p[k]; k++; p[k+1] = rem_val; k++; int main() int n=3; func1(n); return 0;
Options are not available for this question.
Answer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board