code output

void foo(char *a) {
if (*a && *a != ’ ')

I dont think u need the last curly bracket.

A general advice. When asking for code output, give a compilable code and also tag the language. Different languages and compilers can produce different output. Fir this code, the output would depend on the function call. You can try it out on the codechef IDE