C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 000 333 444 433 Garbage Value 000 333 444 433 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 1 0 0 1 0 0 1 None of these 1 1 0 0 1 0 0 1 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");} Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 10 1 15 30 -5 10 1 15 30 -5 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. 1, 4 2, 4 2, 3 None of these 1 1, 4 2, 4 2, 3 None of these 1 ANSWER DOWNLOAD EXAMIANS APP