Reputation: 9393
#include < stdio.h >
int main() {
char *s;
s=call();
printf(s);
}
char* call() {
return("hello");
}
Why these code not working. It's generating an error. How do I make it work?
Upvotes: 1
Views: 8395
Reputation: 76965
Two things:
#include <stdio.h>
call()
Upvotes: 2