Media Summary: Consider the following C functions. int fun1(int n) { static int i= 0; if (n greater than 0) { ++i; fun1(n-1); } return (i); } int fun2(int n) ... Consider the following C functions. int tob (int b, int* arr) { int i; for (i = 0; b greater_than 0; i++) { if (b%2) arr [i] = 1; else arr[i] = 0; ... Consider the following data path diagram. IMAGES NOT SUPPORTED Consider an instruction: R0 ← R1 + R2 The following ...
Ques1 Programming Gate 2020 Pyq - Detailed Analysis & Overview
Consider the following C functions. int fun1(int n) { static int i= 0; if (n greater than 0) { ++i; fun1(n-1); } return (i); } int fun2(int n) ... Consider the following C functions. int tob (int b, int* arr) { int i; for (i = 0; b greater_than 0; i++) { if (b%2) arr [i] = 1; else arr[i] = 0; ... Consider the following data path diagram. IMAGES NOT SUPPORTED Consider an instruction: R0 ← R1 + R2 The following ...