C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} N P M None of These N P M None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} Error x=5 x=0 x=1 x=4 Error x=5 x=0 x=1 x=4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} %d\n None of These 300 Error %d\n None of These 300 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Number of element of the array. Values of the first elements of the array. Address of the first element of the array. Address of the array. Number of element of the array. Values of the first elements of the array. Address of the first element of the array. Address of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 2 4 2 2 2 3 3 3 3 4 2 4 2 2 2 3 3 3 ANSWER DOWNLOAD EXAMIANS APP