C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} Error None of These hello garbage value hello 5 Error None of These hello garbage value hello 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=3 c=3 d=3 c=5 d=5 c=3 d=5 c=5 d=3 c=3 d=3 c=5 d=5 c=3 d=5 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]));} 7 5 None of these 6 4 7 5 None of these 6 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. 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 Complier error Enter your age: xyz Your age is not valid Enter your age : xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Complier error Enter your age: xyz Your age is not valid Enter your age : xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 Garbage Value Compiler Error 5 6 Garbage Value Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP