C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 10 1 Garbage Value None of These 10 1 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These 300 Error %d\n None of These 300 Error %d\n ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 5 6 6 7 6 6 12 7 11 6 5 6 6 7 6 6 12 7 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 9 0.5 1 0.25 2 9 0.5 1 0.25 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} Error 11 1 12 Error 11 1 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ow et ck te ow et ck te ANSWER DOWNLOAD EXAMIANS APP