Skip to main content

Questions tagged [address]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Lab 4 - header vs &header

''' const int HEADER_SIZE = 44; uint8_t header[HEADER_SIZE]; // with & fread(&header, HEADER_SIZE, 1, input); fwrite(&header, HEADER_SIZE, 1, output); // without & fread(header, ...
Vincent Xu's user avatar
0 votes
1 answer

pointers and addresses

int m=10; int *ab=&m; printf("address of *ab:%p\n",&*ab); printf("adress of ab:%p\n",&ab); output: address of *ab:0x7ffd85fddefc adress of ab:0x7ffd85fddf00 i ...
Praneeth Kumar's user avatar
0 votes
1 answer

Confusion about comparing strings and int/char

This question concerns variables, pointers and addresses as addressed in Lecture 4. I understand that strings are not "real" in the way that integers and characters are, and are just defined as "...
user3671's user avatar
  • 165
0 votes
1 answer

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
0 votes
1 answer

resize rewrite method

I've just successfully completed resize less. It took me a lot of time, but, final correction that I needed to make surprised me a lot. There was a huge mess of RGB triples when my fwrite function was ...
Ali Sarp Mestcioglu's user avatar