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 / hussain reddy
hello
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is an example of structure?
What does it mean when a pointer is used in an if statement?
What is the collection of communication lines and routers called?
What is an lvalue in c?
find out largest elemant of diagonalmatrix
Can include files be nested?
How can this be legal c?
What is maximum size of array in c?
What is 02d in c?
Do you know the purpose of 'register' keyword?
What does %d do in c?
What is the size of a union variable?
Explain the difference between strcpy() and memcpy() function?
Why shouldn’t I start variable names with underscores?
Is null always defined as 0(zero)?