C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 0 4, 4 2, 2 0, 2 2, 4 2, 0 4, 4 2, 2 0, 2 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg fg defg cdefg efg bcdefg fg defg cdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator It associates from the right All of these It cannot be applied to an expression The operand can come before or after the operator It is a unary operator It associates from the right All of these It cannot be applied to an expression The operand can come before or after the operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 0 1 0 1 1 0 1 None of these 0 0 1 0 1 1 0 1 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 5 5 5 5 5 2 4 4 2 4 5 2 5 5 5 5 5 2 4 4 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