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
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What is #define in c?
What is the size of empty structure in c?
What is a protocol in c?
What are the application of c?
write a program for the normal snake games find in most of the mobiles.
What is 2 d array in c?
How can I change the size of the dynamically allocated array?
How can I do peek and poke in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the use of header files?
What the advantages of using Unions?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
What are variables and it what way is it different from constants?
What are the 32 keywords in c?