Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Pointer arithmatic
#include <stdio.h> int main() { int a[4] = {1, 2, 3, 4}; int *ptr = &a[2]; // int n = 1; float n=1; ptr = ptr + n; printf("%d\n", *ptr); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
domain.com
13
Example array of struct print
MatrixMul_shortxshort
Jan23
bitwise operations
gcc compiler bug.. weird.
Simple Fork
variable number of arguments
Project 3 Part 1 v1.4
Please log in to post a comment.