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; }

Linker Error : Undefined symbol 'i'
2
Depends on the Compiler
4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);}

Enter your age : xyz Your age is not valid
Complier error
Enter your age: xyz You have lived for 0 seconds
Enter your age: xyz Your age is not valid

ANSWER DOWNLOAD EXAMIANS APP