Skip to main content

Questions tagged [character]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
32 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 = ...
KayO133's user avatar
  • 33
0 votes
1 answer
28 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 ...
Luis Alejandro's user avatar