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; } 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 4 64 16 None of These 4 64 16 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be initialized. It should be both declared and initialized. It should be declared. None of these. It should be initialized. It should be both declared and initialized. It should be declared. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as None of these. int *p(char *)[] int(*p(char *))[] int (*p) (char *)[] None of these. int *p(char *)[] int(*p(char *))[] int (*p) (char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} three zero Error None of These three zero Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 2 3 3 4 3 3 2 2 2 4 2 3 3 4 3 3 2 2 ANSWER DOWNLOAD EXAMIANS APP