C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Can't Say None of These will print Hello World Compiler Error Can't Say None of These will print Hello World Compiler Error 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 None of These i = -1, +i = -1 i = 1, +i = 1 i = -1, +i = 1 None of These i = -1, +i = -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 4 3 10 5 3 4 10 5 3 3 10 5 5 5 10 5 4 4 10 5 4 3 10 5 3 4 10 5 3 3 10 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 15 -5 10 30 1 15 -5 10 30 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15/%!"); ANSWER DOWNLOAD EXAMIANS APP