C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 5 6 Error 4 5 6 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 1 None of These Garbage Value 10 1 None of These Garbage Value 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.00000 seconds Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Run time error Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } te et ck ow te et ck ow ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP