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 1 2 1 1 2 2 2 1 1 2 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
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 Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error hi Garbage Value hi followed by garbage value h Error hi Garbage Value hi followed by garbage value h 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. There is no difference between them. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} None of These i = 1, +i = 1 i = -1, +i = 1 i = -1, +i = -1 None of These i = 1, +i = 1 i = -1, +i = 1 i = -1, +i = -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 5 6 11 6 12 7 6 6 6 7 5 6 11 6 12 7 6 6 ANSWER DOWNLOAD EXAMIANS APP