C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compiler Error Can't Say None of These will print Hello World Compiler Error Can't Say None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam None of these Exam\0Veda Exam Veda Veda Exam None of these Exam\0Veda Exam Veda Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 1 0.25 2 9 0.5 1 0.25 2 9 0.5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 13 11 14 12 Compilation error 13 11 14 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? break resume None of these skip continue break resume None of these skip continue ANSWER DOWNLOAD EXAMIANS APP