Questions tagged [character]
The character tag has no usage guidance.
2 questions
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 = ...
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 ...