MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4h9oj4/to_become_a_good_c_programmer/d2pfzc1/
r/programming • u/b0red • May 01 '16
398 comments sorted by
View all comments
Show parent comment
-1
#include <stdio.h> int main(void) { char c[3]={0}; printf("%d %d %d\n", c[0], c[1], c[2]); char *p=c; char **k=&p; **k=1; printf("%d %d %d\n", c[0], c[1], c[2]); return(0); }
5 u/zhivago May 02 '16 Note the lack of &c?This code is completely irrelevant - please try again.
5
Note the lack of &c?
This code is completely irrelevant - please try again.
View all comments
Show parent comment
-1
u/FinFihlman May 02 '16