September 5, 2023

Programming

Question 13 Consider the following C functions. int fun1 (int n) { int fun2 (int n) { static int i = 0; static int i = […]
September 5, 2023

Programming

Question 1 Let x be an integer which can take a value of 0 or 1. The statement if(x = =0) x = 1; else x […]
September 30, 2023

Programming

Question 1 Consider the following C program: #include <stdio.h> int counter = 0; int calc (int a, int b) { int c; counter++; if (b==3) return […]
October 4, 2023

Programming

Question 7 A variant record in Pascal is defined by type varirec = record number : integer; case (var1,var2) of var1: (x,y : integer); var2: (p.q.: […]
error: Alert: Content selection is disabled!!