C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Forget it Ok here None of These Error Forget it Ok here None of These Error 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 Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 11 12 15 10 11 12 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Syntax error Infinite loop 0 0123456789 10 Syntax error Infinite loop 0 0123456789 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 Runtime error Syntax error 6 No output 8 Runtime error Syntax error 6 No output ANSWER DOWNLOAD EXAMIANS APP