I am trying to get data from STDIN. If the input string starts with the character '$', then the input is not converted to the string as it is.
int main(int argc, char*argv[]){ printf("%s\n",argv[1]); }
Can someone please tell me why the C compiler replaces the characters "0" if it encounters the character "$"?
source share