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 Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 11 None of These 9 10 11 None of These 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} None of These 12 11 13 None of These 12 11 13 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 What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff3 fff4 fff1 fff0 fff2 fff3 fff4 fff1 fff0 ANSWER DOWNLOAD EXAMIANS APP