C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg cdefg defg fg efg bcdefg cdefg defg fg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? int Depends upon the type of the variable to which it is pointing. float No data type unsigned int int Depends upon the type of the variable to which it is pointing. float No data type unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error 2 1 -2 Error 2 1 -2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 0 0 0 0 None of These Infinite Loop 5 4 3 2 1 0 0 0 0 None of These Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} None of These 12PP 12PP345 Compiler Error None of These 12PP 12PP345 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 15 11 10 12 15 11 10 12 ANSWER DOWNLOAD EXAMIANS APP