Questions tagged [character]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

PSet2 why isn't this providing output

This segment of code only prints out blank lines. Key is the correct integer, but I must be handling the array of characters incorrectly. Thoughts? int key = atoi(argv[1]); for (int i = 0, c = ...
0
votes
1answer
26 views

pointers to character

I have a question about character pointers and the addresses that it points to. So I have this lines of code char* name = "Any name"; printf("%s\n", name); printf("%p\n", name); name = "Any other ...