#include<stdio.h>
int main()
{
char *ptr;
char string[] = "How are you?";
ptr = string;
ptr += 4;
printf("%s",ptr);
return 0;
}
Answer Posted / manish tiwari
It will increment the char pointer by 4 bytes and now ptr will point to 'a' inside string so it will print "are you?"
| Is This Answer Correct ? | 48 Yes | 1 No |
Post New Answer View All Answers
What is the use of SUN Server
Briefly describe your ideal job?
how to make resume and what should I include in it?
explain about scope and storage class in oops
hi friends.... i want do telecom course, iam getting confused. plz tell me courses and levels in that field. iam fresher B.E ECE student. and plz tell institutes in hydrabad or bangalure.
How will I MOve Comp-1 variable into next variable without using Move statement?
What is the mistake in the following program segment ? f() { int a; void c; f2(&c,&a);}
write a program to reverse a string using recursive function without using str functions.
I want to join for load runner training..please suggest me which is the best institute for load runner training in bangalore?
plz send me how to overhauling of freon bitzer semi receprocal comprassors with available video
what are the artifacts in coding phase in SDLC????
how does data cleansing framework works?
i want to know about the scope of IT engineers in ONGC
what is the Relationship between quantity of Gas and capacity of AC machine in tonnage.
How EVA granules manufactured (I wanted to know the manufacturing process). (Virgin Granules) and what are the Raw Materials used.