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=EXAMIANS y=MVEDA y=VEDA y=EDA y=AMVEDA y=EXAMIANS y=MVEDA y=VEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 Error 1 2 -2 Error 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 Garbage Value Garbage value 0 Code will not compile 0 0 Garbage vlaue Garbage Value 0 Garbage Value Garbage value 0 Code will not compile 0 0 Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? + || && ++ % + || && ++ % ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 11 12 Error 1 11 12 Error 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. int unsigned int float No data type Depends upon the type of the variable to which it is pointing. int unsigned int float No data type ANSWER DOWNLOAD EXAMIANS APP