#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 ? | 46 Yes | 1 No |
Post New Answer View All Answers
i want to know ,If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits.
5S training documents
to acheve the IP 65 protection class does it is mandatory to apply silicon grease?
hi all I got two exam call letter one from maha ganeco & other from federal bank both at same time & same date which should i choose (note I am eng. grad.)
Can anyone send me iocl written test paper fro computer engineers
How do you reset or reseed the IDENTITY column?
consiteunts of indian railways
what is technical voice process and define it
What is "strstream" ?
Discuss the various process operations, clearly stating what is involved in each process operation.
PLZ SOMEONE TELL ME WHICH TYPE OF QUESTIONS IS ASKED IN HLL(Hindustan latex ltd.)mangmt trainee entrance exam?
1.orders for a computer are summarized by the additional features and are requested as follows; Proportion of order No features 0.3 One feature only 0.5 More than one feature 0.2 find; 1. what is the probability that an order requests at least one feature? 2. what is the probability that an order does not request more than one feature?
anybody, Please send me the NIC(scientific officer/programmer) model questions papers to this mail id:imtiyazahamed14@gmail.com
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.
Please mail me the sample papers of PNB for the post Dy. Manager.