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); } 64 4 None of These 16 64 4 None of These 16 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 int *p(char *)[] None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] None of these. int (*p) (char *)[] int(*p(char *))[] 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);} Complier error Enter your age: xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid Complier error Enter your age: xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid 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 2 3 3 2 3 3 4 2 4 2 2 3 3 2 3 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 0 Error 10..10 10..50 0 Error 10..10 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} Compiler Error 12PP345 12PP None of These Compiler Error 12PP345 12PP None of These ANSWER DOWNLOAD EXAMIANS APP