C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg bcdefg defg cdefg efg fg bcdefg defg cdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Preprocessing None of these During Execution During linking During Editing During Preprocessing None of these During Execution During linking During Editing ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These Infinite Loop 0 0 0 0 5 4 3 2 1 None of These Infinite Loop 0 0 0 0 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 30 1 15 10 -5 30 1 15 10 -5 ANSWER DOWNLOAD EXAMIANS APP