C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 2 0, 2 2, 0 2, 4 4, 4 2, 2 0, 2 2, 0 2, 4 4, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} Error hello 5 hello garbage value None of These Error hello 5 hello garbage value None of These 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.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 Enter your age: xyz You have lived for 0 seconds Run time error Enter your age: xyz "after that program will stop" ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 6 8 5 7 9 6 8 5 7 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 11, 11 10, 11 10, 10 11, 10 11, 11 10, 11 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=EDA y=VEDA y=MVEDA y=AMVEDA y=EXAMIANS y=EDA y=VEDA y=MVEDA y=AMVEDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP