October 6, 2023Programming-for-Output-ProblemsQuestion 5 Consider the following C program: #include <stdio.h> int jumble (int x, int y) { x = 2 * x + y ; return x […]
October 6, 2023Programming-for-Output-ProblemsQuestion 2 Consider the following C function. void convert (int n) { if (n < 0) printf ("%d", n); else { convert (n/2); printf ("%d", n%2); […]
October 6, 2023Programming-for-Output-ProblemsQuestion 1 Consider the following C program: #include <stdio.h> int main () { float sum = 0.0, j = 1.0, i = 2.0; while (i/j > […]
October 6, 2023Programming-for-Output-ProblemsQuestion 8 The following three ‘C’ language statements is equivalent to which single statement? y=y+1; z=x+y; x=x+1 A z = x + y + 2; B […]