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
Ptr_to_fct__v2
++i vs i++
PI
ChangeStructVal
ECE 2574 1/23
18BCE2182 ASSESS_1 Q1-7
B_141107_TablaMultiplicar
Operation of two numbers
C_141126_ArrayMayorMenor02
Prime