C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; float ptr; None of these float *ptr; *float ptr; float ptr; None of these float *ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 2 2 3 4 3 3 2 3 2 4 2 2 3 4 3 3 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. I and II II, III and IV I, II, III and IV II and III I, II and III I and II II, III and IV I, II, III and IV II and III I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C No output at all. NOITANIMAXE C Syntax error NOITANIMAXE C No output at all. NOITANIMAXE C Syntax error ANSWER DOWNLOAD EXAMIANS APP
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 13 12 14 11 Compilation error 13 12 14 11 ANSWER DOWNLOAD EXAMIANS APP
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);} 14 13 Compilation error 12 11 14 13 Compilation error 12 11 ANSWER DOWNLOAD EXAMIANS APP