C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 5 0 6 7 Compiler Error 5 0 6 7 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 16 17 -1 19 20 16 17 -1 19 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } haasi absiha hai None of these asiha haasi absiha hai None of these asiha ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] arr{6} None of these arr{7} arr[7] arr[6] arr{6} None of these arr{7} arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Depends on the Compiler 4 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 Linker Error : Undefined symbol 'i' 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);} None of these void fun(int *p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int p[][4]){} None of these void fun(int *p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP