...
September 29, 2023

Programming-for-Output-Problems

Question 6 Consider the following C program: #include <stdio.h> int main ()  { int arr [] = {1,2,3,4,5,6,7,8,9,0,1,2,5}, *ip = arr+4; printf ("%d\n", ip[1]); return 0; […]
September 30, 2023

Programming-for-Output-Problems

Question 18 The output of the following code is: int main() { static int x[ ]={1,2,3,4,5,6,7,8} int i; for(i=2;i<6;++i) x[x[i]]=x[i]; for(i=0;i<8;++i) printf(“%d”,x[i]); Return 0; } A […]
error: Alert: Content selection is disabled!!