C Programming Any C program 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. Need not contain any function. None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 6 Runtime error Syntax error No output 8 6 Runtime error Syntax error No output 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. None of these 2, 4 2, 3 1, 4 1 None of these 2, 4 2, 3 1, 4 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Number of element of the array. Address of the first element of the array. Values of the first elements of the array. Address of the array. Number of element of the array. Address of the first element of the array. Values of the first elements of the array. Address of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 2 3 2 2 3 3 3 4 2 4 2 3 2 2 3 3 3 4 ANSWER DOWNLOAD EXAMIANS APP