C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 7 6 None of These 5 7 6 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;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0 seconds Enter your age: xyz Your age is not valid Complier error Enter your age : xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Enter your age: xyz Your age is not valid Complier error Enter your age : xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hi friends None of These hj grjeodt ij!gsjfoet hi friends None of These hj grjeodt ij!gsjfoet ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 None of these 10 11 12 13 14 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} h Error Garbage Value hi followed by garbage value hi h Error Garbage Value hi followed by garbage value hi ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? printf() system() getch() main() start() printf() system() getch() main() start() ANSWER DOWNLOAD EXAMIANS APP