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 Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 3 a[1] = 2 a[0] = 2 Compilation error a[1] = 3 a[0] = 3 a[1] = 2 a[0] = 2 Compilation error a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error -1 33 1 0 Compilation Error -1 33 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? 1examians _examians exam_veda examians1 1examians _examians exam_veda examians1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65480, 65488 65480, 65496 None of these 65474, 65488 65474, 65476 65480, 65488 65480, 65496 None of these 65474, 65488 65474, 65476 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and III III and IV II and IV I and II I and III II and III III and IV II and IV I and II I and III ANSWER DOWNLOAD EXAMIANS APP