Elearning , Interview Questions And Answers

Google

arr++; printarr(arr); return; } A. 0,2 1,11,2,0 B .0,1 1,2,2,3 C. 0,1 1,2,2,2 D. defalut value 3. what does the following code fragmanted to #define putchar(c) printf("%c",c) int c='d' putchar(c); A.prints d B. prints n C.compile error d. ---- 6. int compute(int n) { static int result ; if(n<=1) result=1 else result =compute(n-3)+compute(n-1); return result; } A. 8 B. - 9 C. - 6 D. - 12 7. out put of the programme main() { int i=3 while(i - -) { int i=100; i - - ; printf("%d",i) } } A. infinite loop B . 3... 2... 1 C . 99... 99.. 99 D. 2... 1... 0 8. #include <stdio.h> void mainvoid() { printf("%d", printf("ABC\\"));