C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 0 0 1 1 1 1 0 None of these 0 0 0 1 1 1 1 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error will print Hello World Can't Say None of These Compiler Error will print Hello World Can't Say None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 0 100 1 Error 0 100 1 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 5 6 7 4 None of these 5 6 7 4 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
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value Error Garbage Value h hi hi followed by garbage value Error Garbage Value h hi ANSWER DOWNLOAD EXAMIANS APP