What are the output(s) for the following ?
#include
char *f()
{char *s=malloc(8);
strcpy(s,"goodbye")}
main()
{
char *f();
printf("%c",*f()='A');
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What are the advantages of the functions?

0 Answers  


What is an example of enumeration?

1 Answers  


When is the “void” keyword used in a function?

1 Answers  


how can we print  hellow world programme without using semicolon

3 Answers  


what do you mean by inline function in C?

0 Answers   IBS, TCS,






What is c value paradox explain?

0 Answers  


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

0 Answers  


How do you initialize pointer variables?

0 Answers  


Explain how can you determine the size of an allocated portion of memory?

0 Answers  


how to write a program which adds two numbers without using semicolon in c

2 Answers  


How do I create a directory? How do I remove a directory (and its contents)?

0 Answers  


What is the purpose of 'register' keyword?

0 Answers  


Categories