C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 2 2 1 1 1 1 2 2 2 2 1 1 1 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 3 Garbage Value 0 2 1 3 Garbage Value 0 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1 2, 3 1, 4 None of these 2, 4 1 2, 3 1, 4 None of these 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by reference call by value call by value result None of these. call by reference call by value call by value result 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);} Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds ANSWER DOWNLOAD EXAMIANS APP