you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 years ago*

as many iterations as it takes

void* x = &x;
char* ptr = (char*)&x;

while (1) {
    printf("%d\n", (unsigned int)*ptr);
    ptr--;
}
  • source
  • parent