C Programming Which of the following is a complete function? int funct(int x) { return x=x+1; } None of these int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} None of these 6 5 4 7 None of these 6 5 4 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED ERROR RED RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED ERROR RED ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Compiler Error 6 Garbage Value 5 Compiler Error 6 Garbage Value 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? + % ++ && || + % ++ && || ANSWER DOWNLOAD EXAMIANS APP