C Programming If the two strings are identical, then strcmp() function returns 1 0 true -1 None of these 1 0 true -1 None of these ANSWER DOWNLOAD EXAMIANS APP
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)));} Hello World World WorldHello Hello None of these Hello World World WorldHello Hello None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as System programming language General purpose language Data processing language None of these System programming language General purpose language Data processing language None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 None of these Infinite Loop Compilation Error 5 5 5 5 5 5 4 3 2 1 None of these Infinite Loop Compilation Error 5 5 5 5 5 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 erroneous since the statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. None of these 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 statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. None of these 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. 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 *)[] None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] ANSWER DOWNLOAD EXAMIANS APP