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=VEDA y=EDA y=MVEDA y=EXAMIANS y=AMVEDA y=VEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 6 None of these 9 5 Error 6 None of these 9 5 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? F. Codd Dr. James Bjarne Stroustrup Dennis Ritchie Gosling F. Codd Dr. James Bjarne Stroustrup Dennis Ritchie Gosling ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 50, 13, 24, 50 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 50, 13, 11, 13 50, 13, 24, 50 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); None of these 1 1 0 0 0 1 1 0 None of these 1 1 0 0 0 1 1 0 ANSWER DOWNLOAD EXAMIANS APP