C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error -1 33 0 1 Compilation Error -1 33 0 1 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);} None of these 3 8 3 7 8 3 7 3 None of these 3 8 3 7 8 3 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) sqr(x) power(2, x) pow(2, x) power(x, 2) pow(x, 2) sqr(x) power(2, x) pow(2, x) power(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 a = 3, c = 8 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Function scope File scope No scope at all Local scope Block scope Function scope File scope No scope at all Local scope Block scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1 1, 4 2, 3 2, 4 None of these 1 1, 4 2, 3 2, 4 None of these ANSWER DOWNLOAD EXAMIANS APP