C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 Compilation error a[1] = 3 a[0] = 3 a[1] = 2 a[0] = 2 Compilation error a[1] = 3 a[0] = 3 a[1] = 2 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 program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() printf() system() getch() start() main() printf() system() getch() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error None of These GOOD BAD GOOD Compiler Error None of These GOOD BAD GOOD ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Relational operators Logical operators Arithmetic operators Equality operators Relational operators Logical operators Arithmetic operators Equality operators ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..50 0 10..10 Error 10..50 0 10..10 ANSWER DOWNLOAD EXAMIANS APP