C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 10 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 13 Compilation error 14 12 11 13 Compilation error 14 12 11 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 III and IV I and II II and III I, III and IV I, II and III III and IV I and II II and III I, III and IV I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 12 7 6 6 6 7 5 6 11 6 12 7 6 6 6 7 5 6 11 6 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? strrchr() strstr() strnset() None of these strchr() strrchr() strstr() strnset() None of these strchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 0 0 1 1 0 None of these 1 1 0 0 0 1 1 0 None of these 1 1 ANSWER DOWNLOAD EXAMIANS APP