I'm not asking anybody to write the program. All I need is a poke in the right direction or some hints. I'm so lost, I don't know if I'm even in the right ballpark right now. Here is the question:
Write a function that takes a single string as its argument and returns a pointer to the first nonwhite character in the string.
Here is what I have right now:
Am I anywhere near the right answer? Please help!Code:#include <stdio.h> char * point(char s[]) { int i; char *s_pointer; for (i = 0; s[i] != ' ' && s[i] != '\0'; i++) { s_pointer = &s; } return s_pointer; } int main() { char s[] = "Four score"; char z = *point(s); printf("%s", z); return 0; }