In problem set 5, there are these two lines of code.
char* dictionary = (argc == 3) ? argv : DICTIONARY; ... char *text = (argc == 3) ? argv : argv;
Both of theses operations seem to define a 'pointer-to-a-char' variable. Could someone please identify the difference between these two assignment operations? Specifically
char* <name> = ... vs
char *<name> = ...
Also, Is this something specific to the
char data type? I don't recall seeing any thing like this for
int, for example.
Thanks a lot.