C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0289 0713 Syntax error 1289 713 0289 0713 Syntax error 1289 713 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 3 1, 4 1 None of these 2, 4 2, 3 1, 4 1 None of these 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32668 to 32667 -3.4e38 to 3.4e38 -32767 to 32768 -32768 to 32767 -32668 to 32667 -3.4e38 to 3.4e38 -32767 to 32768 -32768 to 32767 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 2 20 Theoratically no limit. The only practical limits are memory size and compilers. 8 50 2 20 Theoratically no limit. The only practical limits are memory size and compilers. 8 50 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); } 3 hello Linking error None of these Compiler Error 3 hello Linking error None of these Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ANSWER DOWNLOAD EXAMIANS APP