How do I return an string from a function.
VB:



void main {
Char str[];
str=getstr():
printf("%s",str);
}