#include "stdio.h"
#include "stdlib.h"
//write any type to bytes and push along that many bytes
int main(void) {
void* barray = malloc(80);
void* barraycp = barray;
void* newad = (barraycp += (*(long*)barraycp = 7)); // this expression can write and give new position of pointer
printf("The byte at new address is %ld\n",*(long*)newad );
printf("Distance is %ld\n", newad - barray);
return 0;
}