C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error None of These Can't Say will print Hello World Compiler Error None of These Can't Say will print Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} H Some Address will be printed Hello None of These H Some Address will be printed Hello None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } None of these absiha haasi asiha hai None of these absiha haasi asiha hai ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam veda Exam_veda Both A and B Examians None of these Exam veda Exam_veda Both A and B Examians None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compilation Error will print garbage value will print Hello World None of these. Compilation Error will print garbage value will print Hello World 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 Your age is not valid Enter your age : xyz Your age is not valid Complier error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz Your age is not valid Enter your age : xyz Your age is not valid Complier error Enter your age: xyz You have lived for 0 seconds ANSWER DOWNLOAD EXAMIANS APP