C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg defg cdefg fg efg bcdefg defg cdefg fg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output infinity loop 3 2 1 3 2 1 0 no output infinity loop 3 2 1 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(int x) { return x=x+1; } None of these void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } None of these void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); 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 subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. 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. None of these The code is erroneous since the values of array are getting scanned through the loop. 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
C Programming C was primarily developed as General purpose language System programming language None of these Data processing language General purpose language System programming language None of these Data processing language ANSWER DOWNLOAD EXAMIANS APP