Neither. An array of char that ends with a terminating null byte is a c-style string. A single char thus can never be a string.
And an uninitialized char data[]; is an incomplete type.
And 'operator<<' not implemented in type 'istream' for arguments of type 'char *'.
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004