C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 0.000000 None of these. Error 10 0.000000 None of these. Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 2, 2 4, 4 0, 2 2, 0 2, 4 2, 2 4, 4 0, 2 2, 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } te et ow ck te et ow ck ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 11 10 None of these 15 12 11 10 None of these 15 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These make an infinite loop Error Some address will be printed None of These make an infinite loop Error Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP