#include <stdio.h> void replace(char *str) { while(*str) { if (??Q1??) { ??Q2??; } str++; } } int main(int argc, char **argv) { char text[] = "Faculty of Engineering, Kagawa University"; replace(text); printf("%s\n", text); // "Faculty_of_Engineering,_Kagawa_University"と出力される }
Quizの解答: Q1 Q2 感想:
Quizの解答: Q1 *ptrP Q2 *ptrT Q3 &price Q4 &tax