C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error 2 20 Compiler Error Linker Error 2 20 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65474, 65476 65480, 65488 65480, 65496 None of these 65474, 65488 65474, 65476 65480, 65488 65480, 65496 None of these 65474, 65488 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ char float int short long char float int short long ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 4 Depends on the Compiler 2 Linker Error : Undefined symbol 'i' 4 Depends on the Compiler 2 Linker Error : Undefined symbol 'i' ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. The variable k can’t be initialized. There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. ANSWER DOWNLOAD EXAMIANS APP