C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa mmmm nnnn aaaa Compiler Error None of These mmm nnn aaa mmmm nnnn aaaa Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;printf("Enter your age:");scanf("%f", &age);AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz You have lived for 0 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and III II and IV III and IV I and II I and III II and III II and IV III and IV I and II I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} Error 10 0.000000 None of these. Error 10 0.000000 None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} Compiler Error 0 7 6 5 Compiler Error 0 7 6 5 ANSWER DOWNLOAD EXAMIANS APP