Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Poiter minus
#include <stdio.h> int main() { int a[4] = {1, 2, 3, 4}; void *p = &a[1]; void *ptr = &a[2]; int n = 1; // n= (int*)ptr -(int*)p; n = ptr - p; printf("%d\n", n); }
run
|
edit
|
history
|
help
0
ptr_to_ptr
Star 1,3
hippo he Rhoda shalbert now ring one white car bomb ching
SAI_1-3.c
est
18BCE2182 ASSESS_3 Q4
C assignment due sunday
polymorphism simulation in plain C with a simple structures
Spring 2017 Project 2 v1.2
How strxpy work