#include<stdio.h>
int main()
{
char *ptr;
char string[] = "How are you?";
ptr = string;
ptr += 4;
printf("%s",ptr);
return 0;
}

Answer Posted / subbu

It should be How are you?,

because the pgm didnt mention abt the ptr += 4; statement in the printf("%s",ptr);

if it like ths printf("%s",ptr +);then the ans is are you?

if i am wrong sorry and check ths..thank u..

Is This Answer Correct ?    3 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

my first question in huawei was ....1)Tell me about your self 2) oops concept 3)logic gates 4)ram and rom ,what is cache memory nd where it is located 5)diffrence between file system and data base 6) procedure of operating system 7)what is c# 8)high level language and machine language 9) and from mobile networkin !!!! hope thz will help you

1482


What were the most energizing/enjoyable aspects of your job in this given period?

5830


model question papers of GrayOrange company

939


who are egoless programmers?

1407


Hi friends..cud any help to get QC 9.2 trial..i tried with HP site but did'nt got it..please help me out

1663






Explain Belady's Anomaly.

1941


which are the books available in, India for STONE COLUMNS/GRANULAR PILES?

1330


how to cable size by Amp with example

2181


consiteunts of indian railways

1735


How to calculte strengh of scaffoling(indian)

1619


Prove that in a self-complementing code the sum of the weights must be 9?

28014


i have got a gre score of 800 in my first attemt and a score of 1080 in the second and i have repoted both the scores.will it effect my chances of getting good university

1464


why only j2me is used for mobile???

1543


MY QUERY IS REGARDING AS/400. I AM FACING A PROBLEM IN UPDATING A PF COZ IT IS GETTING LOCKED SO I USED CHAIN(N) INSTEAD OF ONLY CHAIN.I ALSO TRIED UPDATE(E) ALONG WITH CHAIN(N),ITS NOT GIVING ANY ERROR BUT AT THE SAME TIME NOT UPDATING THE PF

1564


operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system

5943