f(*p)
{
p=(char *)malloc(6);
p="hello";
return;
}
main()
{
char *p="bye";
f(p);
printf("%s",p);
}
what is the o/p?
Answer Posted / madhureddy
the answer is bye
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Is this program statement valid? INT = 10.50;
Explain how does flowchart help in writing a program?
Why is not a pointer null after calling free?
What is use of pointer?
Which is an example of a structural homology?
what do u mean by Direct access files? then can u explain about Direct Access Files?
write a proram to reverse the string using switch case?
What is ponter?
What's the right way to use errno?
Is it possible to pass an entire structure to functions?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What's the best way of making my program efficient?
Write a program to check armstrong number in c?
Write a program which returns the first non repetitive character in the string?