
Implement a function that returns a pointer into the given string, placed on the first character that is neither a space nor a tab.
skip_spaces(" git status")Expected result
3 [git status]For your own tracking. Tests grade your code.
skip_spaces("cargo build --release")Expected result
0 [cargo build --release]skip_spaces("git commit -m wip")Expected result
0 [git commit -m wip]skip_spaces(" ")Expected result
4 []Expected files
skip_spaces.cAllowed functions
None. Write every helper yourself.

v0.40: Create exercises. Challenge the community.
Meet Studio →Implement a function that returns a pointer into the given string, placed on the first character that is neither a space nor a tab.
skip_spaces(" git status")Expected result
3 [git status]For your own tracking. Tests grade your code.
skip_spaces("cargo build --release")Expected result
0 [cargo build --release]skip_spaces("git commit -m wip")Expected result
0 [git commit -m wip]skip_spaces(" ")Expected result
4 []Expected files
skip_spaces.cAllowed functions
None. Write every helper yourself.

Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.