C Programming The function scanf() returns ......... ASCII value of the input read. 0 The actual values read for each argument. 1 The number of successful read input values. ASCII value of the input read. 0 The actual values read for each argument. 1 The number of successful read input values. ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. 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 None of these 1 1, 4 2, 4 2, 3 None of these 1 1, 4 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 5 5 10 5 4 4 10 5 3 3 10 5 3 4 10 5 4 3 10 5 5 5 10 5 4 4 10 5 3 3 10 5 3 4 10 5 4 3 ANSWER DOWNLOAD EXAMIANS APP
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 None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=5 x=1 Error x=0 x=4 x=5 x=1 Error x=0 x=4 ANSWER DOWNLOAD EXAMIANS APP