I am trying to create a char array based on a single ASCII code. The folowing code does not compile correctly, even though "num" is cast to a char:

```
//Returns the ASCII counterpart of a number, such as 41 = A, 42 = B, 43 = C, etc.
char numToASCII(int num) {
    char[] string = {(char)num, "\0"};
    return string;
}

```

For the task that I am given, it is very important that "string" be a character array/string and not a single char. Any help would be appreciated.