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 / vignesh1988i
bye
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
what is recursion in C
Is there a way to switch on strings?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is pointers in c with example?
What is meant by inheritance?
What is huge pointer in c?
How can I make sure that my program is the only one accessing a file?
#include
How can I automatically locate a programs configuration files in the same directory as the executable?
Explain what is the most efficient way to store flag values?
What is null pointer constant?
What are derived data types in c?
Place the #include statement must be written in the program?
What is the code for 3 questions and answer check in VisualBasic.Net?
Is flag a keyword in c?