C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 3 2 2 3 4 2 4 3 3 2 3 2 2 3 4 2 4 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is syntactically and semantically correct is illegal None of these. is legal but meaningless is syntactically and semantically correct is illegal None of these. is legal but meaningless 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 "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 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() getch() main() printf() start() system() getch() main() printf() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with An alphabet Both of the above A number A special symbol other than underscore An alphabet Both of the above A number A special symbol other than underscore ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these It is a formal parameter It is a declaratrion Initialization is a part of definition All of these It is a formal parameter It is a declaratrion Initialization is a part of definition ANSWER DOWNLOAD EXAMIANS APP