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 / vrushali
The answer is bye...
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain setjmp()?
What is the difference between array_name and &array_name?
Is it better to use a macro or a function?
What is bin sh c?
what is the height of tree if leaf node is at level 3. please explain
a program that can input number of records and can view it again the record
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Can we declare a function inside a function in c?
Is c procedural or object oriented?
What is indirection?
What is c preprocessor mean?
What is integer constants?
What is variables in c?
explain what are actual arguments?
Explain enumerated types in c language?