C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 20 20 10 10 10 20 Run time error 20 20 10 10 10 20 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(int) { printf(“Hello"); } 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=EDA y=MVEDA y=AMVEDA y=VEDA y=EXAMIANS y=EDA y=MVEDA y=AMVEDA y=VEDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Conditional operator Division operator Assignment operator Comma operator Unary-operator Conditional operator Division operator Assignment operator Comma operator Unary-operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 6 0 5 Garbage Value None of these 6 0 5 Garbage Value None of these ANSWER DOWNLOAD EXAMIANS APP