C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. 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. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. There is no difference between them. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 0 5.600000 Complier error 6 5.600000 5 5.600000 0 5.600000 Complier error 6 5.600000 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 6 Error 5 4 6 Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value None of These 1 10 Garbage Value None of These 1 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} None of these 65480, 65488 65474, 65476 65474, 65488 65480, 65496 None of these 65480, 65488 65474, 65476 65474, 65488 65480, 65496 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 6 12 7 6 7 11 6 5 6 6 6 12 7 6 7 11 6 5 6 ANSWER DOWNLOAD EXAMIANS APP