C Programming Which of the following is the correct way of declaring a float pointer: float ptr; *float ptr; float *ptr; None of these float ptr; *float ptr; float *ptr; None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Linking error Compiler Error 3 hello None of these Linking error Compiler Error 3 hello None of these 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 variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} None of these 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 None of these 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } asiha haasi hai None of these absiha asiha haasi hai None of these absiha ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 None of these 0 1 2 2 1 1 2 3 1 1 2 2 0 1 2 3 None of these 0 1 2 2 1 1 2 3 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP