C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Code will not compile 0 0 Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value Code will not compile 0 0 Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 50, 13, 24, 50 13, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 50, 13, 24, 50 13, 13, 24, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam veda Both A and B Exam_veda None of these Examians Exam veda Both A and B Exam_veda None of these Examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These Error 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value None of These Error 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Unequal Equal None of these. Error Unequal Equal None of these. Error ANSWER DOWNLOAD EXAMIANS APP