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
why we wont use '&' sing in aceesing the string using scanf
How can you call a function, given its name as a string?
How does memset() work in C?
Explain zero based addressing.
what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }
Explain what is the difference between #include and #include 'file' ?
There seem to be a few missing operators ..
Can i use “int” data type to store the value 32768? Why?
What are the two types of structure?
Write a program to print fibonacci series without using recursion?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is the use of sizeof () in c?