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 10 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, 2023Programming-for-Output-ProblemsQuestion 12 Consider the following C code. #include #include void main() { double pi = 3.1415926535; int a = 1; int i; for(i=0; i < 3; […]
October 6, 2023Programming-for-Output-ProblemsQuestion 13 What is the output of the following C code? #include int main() { int index; for(index=1; index<=5; index++) { printf(“%d”, index); if (index==3) continue; […]