不知道,你上机试一下不就知道了嘛!
看一下我的吧!!直接用ASCII码就行了.#include <stdio.h>int main(void){ int c; while ((c = getchar()) != '') if (c==32) printf("%c", c); return 0;}