Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Goodone pointer minus void pointer
#include <stdio.h> int main() { void *p; int a[4] = {1, 2, 3, 4}; p = &a[3]; int *ptr = &a[2]; int n = (int*)p - ptr; printf("%d\n", n); }
run
|
edit
|
history
|
help
0
LinkedListTest
Taco practice
bitwise operations
A_141124arrayRepetidos
good Job
141124_PI
18BCE2182 ASSESS_1 Q1-2
C_141127_MatricesSUMA
ECE 2574 1/23
18BCE2182 ASSESS_3 Q4