hi , guys/
I again have problem with C understanding. Please help .
there's code =
/* */
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
main()
{
char* inputstr;
inputstr = simple_readline( "Please specify the input string (one more notification))" , 0);
printf("\n You've specified string = %s\n", inputstr);
getchar();
getchar();
}
char* simple_readline( const char* prompt, unsigned block_size )
{
char* result; /* The malloc()ed string to return */
*result = "efef";
return result;
}
i can't understand whaere is the error here