C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to infinite -10 to -1 -10 to 0 Complier error -10 to infinite -10 to -1 -10 to 0 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} c Error 65 A c Error 65 A 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, 4 1 2, 3 None of these 1, 4 2, 4 1 2, 3 None of these 1, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be initialized. It should be declared. It should be both declared and initialized. None of these. It should be initialized. It should be declared. It should be both declared and initialized. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} nullp nullq p q x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler nullp nullq p q x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP