C Programming int a[5] = {1,2,3}What is the value of a[4]? 0 Garbage Value 2 3 1 0 Garbage Value 2 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Good None of these M Morning Good Morning Good None of these M Morning Good Morning ANSWER DOWNLOAD EXAMIANS APP
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? 12 24 6 7 It will not compile because not enough initializers are given 12 24 6 7 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Ok here None of These Forget it Error Ok here None of These Forget it Error 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