C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 8 9 5 7 6 8 9 5 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During linking During Preprocessing During Execution During Editing None of these During linking During Preprocessing During Execution During Editing None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with Both of the above A special symbol other than underscore An alphabet A number Both of the above A special symbol other than underscore An alphabet A number ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 22 12 12 13 22 14 12 13 12 10 11 13 22 11 11 11 22 13 14 14 22 12 12 13 22 14 12 13 12 10 11 13 22 11 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam Exam Veda Exam\0Veda Veda None of these Exam Exam Veda Exam\0Veda Veda 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 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 ANSWER DOWNLOAD EXAMIANS APP