C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 1 0 14 None of these 10 1 0 14 None of these 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error %d\n None of These 300 Error %d\n None of These 300 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error h Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value hi ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 Runtime error 6 No output Syntax error 8 Runtime error 6 No output Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Function scope Block scope No scope at all Local scope File scope Function scope Block scope No scope at all Local scope File scope ANSWER DOWNLOAD EXAMIANS APP