C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 22 12 12 13 12 10 11 13 22 11 11 11 22 14 12 13 22 13 14 14 22 12 12 13 12 10 11 13 22 11 11 11 22 14 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is laststr() strrchr() strnstr() None of these strstr() laststr() strrchr() strnstr() None of these strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0 0123456789 Syntax error Infinite loop 10 0 0123456789 Syntax error Infinite loop 10 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 i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to 0 -10 to -1 -10 to infinite Complier error -10 to 0 -10 to -1 -10 to infinite ANSWER DOWNLOAD EXAMIANS APP