C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} WorldHello Hello World World Hello None of these WorldHello Hello World World Hello None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 0 33 -1 1 Compilation Error 0 33 -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int (*p) (char *)[] int *p(char *)[] int(*p(char *))[] None of these. int (*p) (char *)[] int *p(char *)[] int(*p(char *))[] None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=5 c=3 d=3 c=3 d=5 c=5 d=3 c=5 d=5 c=3 d=3 c=3 d=5 c=5 d=3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. None of these The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. None of these The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() system() getch() printf() start() main() system() getch() printf() start() ANSWER DOWNLOAD EXAMIANS APP