C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 12 11 14 13 Compilation error 12 11 14 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } int funct(); ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 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=VEDA y=EDA y=MVEDA y=EXAMIANS y=AMVEDA y=VEDA y=EDA y=MVEDA y=EXAMIANS y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number A special symbol other than underscore Both of the above An alphabet A number A special symbol other than underscore Both of the above An alphabet ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of statements that perform some specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. ANSWER DOWNLOAD EXAMIANS APP