/* Convert ASCII to morse code. Reads from stdin if provided with no argument
- or "-", otherwise reads from the first command line argument. Prints "*" if
+ or "-", otherwise reads from the first command line argument. Prints "?" if
character is not found. */
#include <string.h>
printf("%s", ma[i]);
break;
} else if (i == sizeof(aa)/sizeof(char *) - 1) {
- printf("*");
+ printf("?");
}
}
printf(" ");