Write a function htoi(s), which converts a string of hexadecimal digits (including an ... s[],int lim) { int c,i; for(i=0; i < lim-1 && (c=getchar()) !=
確定! 回上一頁