...
October 6, 2023

Programming-for-Output-Problems

Question 5 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, 2023

Programming-for-Output-Problems

Question 6 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, 2023

Programming-for-Output-Problems

Question 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 […]
October 6, 2023

Programming-for-Output-Problems

Question 10 Consider the following C code. #include #include void main() { double pi = 3.1415926535; int a = 1; int i; for(i=0; i < 3; […]
error: Alert: Content selection is disabled!!