C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Linker Error 20 Compiler Error 2 Linker Error 20 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, II and III I, III and IV I and II II and III III and IV I, II and III I, III and IV I and II II and III III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..1 0..1 1..0 0..0 1..1 0..1 1..0 0..0 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. 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. ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ char float int long short char float int long short ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(x, 2) power(2, x) pow(2, x) power(x, 2) sqr(x) pow(x, 2) power(2, x) pow(2, x) power(x, 2) ANSWER DOWNLOAD EXAMIANS APP