Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Story of childhood me learning about pointers in C.
Thinking of writing cool stuff like a virus that deletes all the programs loaded in the RAM, crashing the system:
void main() {
char m = 'c';
char* p = &m;
while(true) {
*p = '';
p++;
}
}
Later learned that OS allocates guarded memory for each program. ;(
random
#virus #hopeditworks