C Programming Array passed as an argument to a function is interpreted as Address of the first element of the array. Number of element of the array. Address of the array. Values of the first elements of the array. Address of the first element of the array. Number of element of the array. Address of the array. Values of the first elements of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 3 a[0] = 2 a[1] = 3 a[1] = 2 Compilation error a[0] = 3 a[0] = 2 a[1] = 3 a[1] = 2 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Comma operator Unary-operator Conditional operator Assignment operator Division operator Comma operator Unary-operator Conditional operator Assignment operator Division operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage vlaue Garbage Value 0 0 Code will not compile 0 Garbage Value Garbage value 0 Garbage vlaue Garbage Value 0 0 Code will not compile 0 Garbage Value Garbage value 0 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 -5 30 1 10 15 -5 30 1 10 15 ANSWER DOWNLOAD EXAMIANS APP