C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 It will not compile because not enough initializers are given 6 12 7 24 It will not compile because not enough initializers are given 6 12 7 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 Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds Run time error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. Sequential and Random None of these Random Sequential Sequential and Random None of these Random Sequential ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? char int float real double char int float real double ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 0..0 0..1 1..1 1..0 0..0 0..1 1..1 1..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Assignment operator Conditional operator Division operator Comma operator Unary-operator Assignment operator Conditional operator Division operator Comma operator Unary-operator ANSWER DOWNLOAD EXAMIANS APP