C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 8 3 7 7 3 None of these 8 3 3 8 3 7 7 3 None of these 8 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 2 5 5 2 4 5 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, III and IV II and III I and II I, II and III III and IV I, III and IV II and III I and II I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 12 11 Error 1 12 11 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 215 – 1 216 215 216 – 1 None of these 215 – 1 216 215 216 – 1 ANSWER DOWNLOAD EXAMIANS APP