C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 infinity loop ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right II and IV I and III II and III I and II III and IV II and IV I and III II and III I and II III and IV 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
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error Garbage Value h hi followed by garbage value hi Error Garbage Value h hi followed by garbage value hi 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 3 3 10 5 4 4 10 5 3 4 10 5 5 5 10 5 4 3 10 5 3 3 10 5 4 4 10 5 3 4 10 5 5 5 10 5 4 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} None of these void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} None of these ANSWER DOWNLOAD EXAMIANS APP