Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Is const really const?
//gcc 5.4.0 #include <stdio.h> int main(void) { const char unmutable_chr = 'A'; char *mutable_ptr = (char *)&unmutable_chr; printf("unmutable: %c, mutable: %c\r\n", unmutable_chr, *mutable_ptr); *mutable_ptr = 'B'; printf("unmutable: %c, mutable: %c\r\n", unmutable_chr, *mutable_ptr); return 0; }
run
|
edit
|
history
|
help
1
18BCE2182 ASSESS_1 Q1-8
binary to txt
co_1
PRACTICA LISTA
18BCE2182 ASSESS_3 Q4
Spring 2017 Project 2 v.02
Eee
Cbinsearch
Loop practice
Jan23