C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg cdefg defg fg bcdefg efg cdefg defg fg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable k can’t be initialized. The commas should be semicolons. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The commas should be semicolons. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 6 10 5 11 9 6 10 5 11 9 ANSWER DOWNLOAD EXAMIANS APP