C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 0 0 0 1 1 1 garbage values Error 0 0 0 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 14 Compilation error 12 13 11 14 Compilation error 12 13 11 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; } 2 Linker Error : Undefined symbol 'i' 4 Depends on the Compiler 2 Linker Error : Undefined symbol 'i' 4 Depends on the Compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? Depends upon the type of the variable to which it is pointing. No data type float unsigned int int Depends upon the type of the variable to which it is pointing. No data type float unsigned int int ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=AMVEDA y=MVEDA y=EDA y=VEDA y=EXAMIANS y=AMVEDA y=MVEDA y=EDA y=VEDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 Infinite Loop None of These 0 0 0 0 5 4 3 2 1 Infinite Loop None of These 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP