Some data struct code implement in C