C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error 20 Compiler Error 2 Linker Error 20 Compiler Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Some address will be printed None of these. H Hello Some address will be printed None of these. H Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 2 2, 4 2, 0 4, 4 0, 2 2, 2 2, 4 2, 0 4, 4 0, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 50 8 20 2 Theoratically no limit. The only practical limits are memory size and compilers. 50 8 20 2 Theoratically no limit. The only practical limits are memory size and compilers. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. None of these The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. None of these The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} No output at all. NOITANIMAXE NOITANIMAXE C C Syntax error No output at all. NOITANIMAXE NOITANIMAXE C C Syntax error ANSWER DOWNLOAD EXAMIANS APP