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
What is the size of array float a(10)?
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Write a C program to multiply tho numbers without using arithmetic operator (+, -, *, /).
What is the purpose of & in scanf?
What is an endless loop?
differentiate between const char *a; char *const a; and char const *a;
2 Answers College School Exams Tests, HCL, TCS,
what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7
Can i use “int” data type to store the value 32768? Why?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Explain what is the difference between functions abs() and fabs()?
Define Spanning-Tree Protocol (STP)