C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg cdefg fg efg defg bcdefg cdefg fg efg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation All of these Takes care of macros Takes care of include files Acts before compilation Takes care of conditional compilation All of these Takes care of macros Takes care of include files Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} M P None of These N M P None of These N ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print garbage value Compilation Error will print Hello World None of these. will print garbage value Compilation Error will print Hello World None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmmm nnnn aaaa None of These mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These mmm nnn aaa Compiler Error ANSWER DOWNLOAD EXAMIANS APP