#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
hello sir, i'm persuing my B.tech final year in textile chemistry and have a diploma in electronics and communication...interviewer ask why you should adopt textile chemistry from electronics and communication....please give me the best answer... thank you
Hello sir i finished my BE computer 2009 batch. I'm not gud at programming like 0 knowledge and i'm not interested in it too . Except this programming field is anyother option to afford into a new one ??????? can anyone help me plz
when did actually oil exploration start
which topics are come from quizs
Define function ? Explain arguments in functions ?
what are the main points to be included in our introduction when asked in hr...??
How to Shut-down the system through QTP Script?
How we can read an Image in VC++?How we can find out the intensities of the pixels of an image and dimension of the image?
Hi l, I want to install a water purifier (UV) at my home. the distance of water purifier from water tank [1000 lt ] is 7 ft. Is it sufficient for electrical water purifier? I want to know what is the water pressure from 1000 lt tank (the pipe used from water tank to machine is of inch 1-1/4") please note minimum water pressure is required for UV is - Water Pressure Min: 0.4 kg/sq. cm.Max: 2.0 kg/sq. cm. Please advise me on the following: 1) What is the water pressure generate in above condition. 2) What is the required height from the UV machine to water tank for the above condition? Thanks is advance.
what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.
What is VAT Account determination ? and how we can map in SAP ?
WHAT ARE THE ADVANTAGE OF SYSTEM ENGINEER
Tell me about a time when you had too many things to do and you were required to prioritize your tasks
write a c++ program to interchange two-integer number without using the third variable. use concept of constructor overloading.
HTML tag for bulleted list is--------------