October 6, 2023

Programming-for-Output-Problems

Question 27 The output of the following program is 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; […]
October 6, 2023

Programming-for-Output-Problems

Question 28 Which of the following has the compilation error in C? A int n=17; B char c=99; C float f=(float)99.32; D #include Programming-for-Output-ProblemsCompilationISRO CS 2015Video-Explanation […]
October 6, 2023

Programming-for-Output-Problems

Question 29 The for loop for (i=0; i<10; ++i) printf(“%d”, i&1); prints: A 0101010101 B 0111111111 C 0000000000 D 1111111111 Programming-for-Output-ProblemsControl FlowISRO CS 2015Video-Explanation Question 29 […]
October 6, 2023

Programming-for-Output-Problems

Question 30 Consider the following C code segment: For the program fragment above, which of the following statements about the variables i and j must be […]
error: Alert: Content selection is disabled!!