C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 6 5.600000 5 5.600000 0 5.600000 Complier error 6 5.600000 5 5.600000 0 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 Error 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 1, 15 3, 2, 15 1, 2, 5 2, 3, 20 2, 1, 15 3, 2, 15 1, 2, 5 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 45545 54554 45445 54544 45545 54554 45445 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strnset() strrchr() strchr() strstr() None of these strnset() strrchr() strchr() strstr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 II and III I, III and IV I and II I, II and III III and IV II and III I, III and IV I and II I, II and III III and IV ANSWER DOWNLOAD EXAMIANS APP