C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 Error 4 5 6 Error 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) None of these 15 50 30 10 None of these 15 50 30 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } int funct(); ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. Random Sequential and Random Sequential None of these Random Sequential and Random Sequential None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 5 7 9 6 8 5 7 9 6 8 ANSWER DOWNLOAD EXAMIANS APP