C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 10 450 110 -10 -110 10 450 110 -10 -110 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 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
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. 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. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. 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. ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means p is a pointer to a 5 elements integer array. The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 12 10 11 15 12 10 11 15 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 *))[] int *p(char *)[] None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] None of these. int (*p) (char *)[] ANSWER DOWNLOAD EXAMIANS APP