.find the output of the following program?
char*myfunc(char*ptr)
{
ptr +=3;
return (ptr);
}
int main()
{
char*x,*y;
x="HELLO";
y=myfunc(x);
printf("y = %s
",y);
return 0;
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Explain the advantages of using macro in c language?

0 Answers  


What is the difference between mpi and openmp?

0 Answers  


What is const keyword in c?

0 Answers  


Without Computer networks, Computers will be half the use. Comment.

0 Answers  


Write a program to use switch statement.

0 Answers   Agilent, Integreon, ZS Associates,






main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail

6 Answers   TCS,


Three major criteria of scheduling.

1 Answers  


How would you sort a linked list?

1 Answers  


what is the different bitween abap and abap-hr?

0 Answers   TCS,


Explain the ternary tree?

0 Answers  


whitch value return void main?

11 Answers  


What are register variables in c?

0 Answers  


Categories