C Programming An array elements are always stored in ________ memory locations. Random None of these Sequential and Random Sequential Random None of these Sequential and Random Sequential ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 15 12 11 10 None of these 15 12 11 10 None of these 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 Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 2 2 2 2 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 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 2, 4 2, 3 1, 4 None of these 1 2, 4 2, 3 1, 4 None of these ANSWER DOWNLOAD EXAMIANS APP