#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


Please Help Members By Posting Answers For Below Questions

i want to know ,If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits.

1718


5S training documents

2543


to acheve the IP 65 protection class does it is mandatory to apply silicon grease?

1428


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.)

1678


Can anyone send me iocl written test paper fro computer engineers

1891






How do you reset or reseed the IDENTITY column?

1535


consiteunts of indian railways

1735


what is technical voice process and define it

2519


What is "strstream" ?

1695


Discuss the various process operations, clearly stating what is involved in each process operation.

1030


PLZ SOMEONE TELL ME WHICH TYPE OF QUESTIONS IS ASKED IN HLL(Hindustan latex ltd.)mangmt trainee entrance exam?

1519


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?

1718


anybody, Please send me the NIC(scientific officer/programmer) model questions papers to this mail id:imtiyazahamed14@gmail.com

1435


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.

1658


Please mail me the sample papers of PNB for the post Dy. Manager.

1381