C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Unequal Error Equal None of these. Unequal Error Equal ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? printf() main() start() system() getch() printf() main() start() system() getch() ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32767 to 32768 -32668 to 32667 -3.4e38 to 3.4e38 -32768 to 32767 -32767 to 32768 -32668 to 32667 -3.4e38 to 3.4e38 -32768 to 32767 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi Error hi followed by garbage value h Garbage Value hi Error hi followed by garbage value h 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 );} There will be a compilation error reported. Prints the value of 0 one time only. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. There will be a compilation error reported. Prints the value of 0 one time only. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. 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 3 2 2 3 3 3 4 2 4 2 3 2 2 3 3 3 4 ANSWER DOWNLOAD EXAMIANS APP