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);} Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 0 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value Garbage value 0 0 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} absiha hai haasi asiha absiha hai haasi asiha ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..4 4..2 2..2 4..4 2..4 4..2 2..2 4..4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 1 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. 0 1 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. 0 ANSWER DOWNLOAD EXAMIANS APP