C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 0 infinity loop no output 3 2 1 3 2 1 0 infinity loop no output 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error None of These 300 %d\n Error None of These 300 %d\n ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 10 Syntax error 0 0123456789 Infinite loop 10 Syntax error 0 0123456789 Infinite loop 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 );} The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. Prints the value of 0 one time only. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} None of these 10 6 0 1 None of these 10 6 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope No scope at all File scope Block scope Function scope Local scope No scope at all File scope Block scope Function scope ANSWER DOWNLOAD EXAMIANS APP