C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 1 1 1 Error 0 0 0 garbage values 1 1 1 Error 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 Compilation error 14 13 11 12 Compilation error 14 13 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Values of the first elements of the array. Number of element of the array. Address of the first element of the array. Address of the array. Values of the first elements of the array. Number of element of the array. Address of the first element of the array. Address of the array. 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. unsigned int int No data type float Depends upon the type of the variable to which it is pointing. unsigned int int No data type float ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..10 10..50 0 Error 10..10 10..50 0 Error ANSWER DOWNLOAD EXAMIANS APP