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 );} A run time error will be generated. There will be a compilation error reported. The program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. A run time error will be generated. There will be a compilation error reported. The program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } None of these Linking error Compiler Error 3 hello None of these Linking error Compiler Error 3 hello ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 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\0Veda Exam Veda Exam Veda None of these Exam\0Veda Exam Veda Exam Veda None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 14 None of these 1 0 10 14 None of these 1 0 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 7 3 8 None of these 7 3 8 3 3 7 3 8 None of these 7 3 8 3 ANSWER DOWNLOAD EXAMIANS APP