C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error 1 0 no error no output complier error 1 0 no error no output ANSWER DOWNLOAD EXAMIANS APP
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 Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} None of These Compiler Error 12PP345 12PP None of These Compiler Error 12PP345 12PP ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 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 I and II II and III I, II and III III and IV I, III and IV I and II II and III I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP