C Programming int a[5] = {1,2,3}What is the value of a[4]? 0 1 3 2 Garbage Value 0 1 3 2 Garbage Value 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(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 None of These 10 Garbage Value 1 None of These 10 Garbage Value 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 None of These 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} Error 1 100 Error 1 100 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 int float unsigned int Depends upon the type of the variable to which it is pointing. No data type int float unsigned int ANSWER DOWNLOAD EXAMIANS APP