C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 10, 10 11, 11 11, 10 10, 11 10, 10 11, 11 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } int funct(); ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 216 216 – 1 215 – 1 None of these 215 216 216 – 1 215 – 1 None of these 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=MVEDA y=EXAMIANS y=AMVEDA y=EDA y=VEDA y=MVEDA y=EXAMIANS y=AMVEDA y=EDA y=VEDA ANSWER DOWNLOAD EXAMIANS APP
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); }} Run time error 10 10 20 20 10 20 Run time error 10 10 20 20 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 54554 55445 45545 54544 54554 55445 45545 ANSWER DOWNLOAD EXAMIANS APP