C Programming Which of following is not a valid name for a C variable? None of these Exam_veda Examians Exam veda Both A and B None of these Exam_veda Examians Exam veda Both A and B ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 Syntax error 8 Runtime error No output 6 Syntax error 8 Runtime error No output ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. Both can occur multiple times, but a definition must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 2 2 1 1 1 2 2 1 2 2 1 1 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These Garbage Value 0 2 None of These Garbage Value 0 2 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