C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg defg bcdefg cdefg efg fg defg bcdefg cdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 10 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. 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. 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 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. 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 correct and runs successfully. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A special symbol other than underscore An alphabet A number Both of the above A special symbol other than underscore An alphabet A number Both of the above ANSWER DOWNLOAD EXAMIANS APP