Anton (antohin)

Anton

I'm software engineer and I like the DeFi Technologies!

33 Followers

Recent casts

🔥 Let's talk about mistakes! 🔥 Check the code below and give your answer! *** C-CODE *** #include <stdio.h> #include <stdlib.h> typedef struct block_chain_link{ float send; float receive; struct block_chain_link* next_link; } block_chain_link; int main() { block_chain_link* new_link; block_chain_link* ptr = NULL; float amount = 5.321652; // first block new_link = (block_chain_link*)malloc(sizeof(block_chain_link)); new_link->send = amount; new_link->receive = 0; new_link->next_link = ptr; ptr = new_link; // second block new_link = (block_chain_link*)malloc(sizeof(block_chain_link)); new_link->send = 0; new_link->receive = amount-1; new_link->next_link = ptr; ptr = new_link; printf("Block 2: receiver received of %f token amount\n", ptr->receive); ptr = ptr->next_link; printf("Block 1: sender sent of %f token amount", ptr->send); return 0; }

  • 0 replies
  • 2 recasts
  • 0 reactions

ANYKEYMAN - young and inexperienced employee whose responsibilities include some knowledge of basic system administration and counseling inexperienced PC users 🤦🏼‍♂️ Is this really your maximum?! Go and Learn programming and math! 🚀

  • 0 replies
  • 0 recasts
  • 0 reactions

Top casts

🔥 Hey! 🔥 What about link between Math and Programming? 🔥 Next function describe green curve below: #include <stdio.h> #include <math.h> float the_function(float x); int main() { float x = 16; printf("For x = %.1f the function give %.1f", x, the_function(x)); return 0; } float the_function(float x){ return -12*pow(x,2)+870*x+9600; }

  • 0 replies
  • 0 recasts
  • 4 reactions

Отличная книга для изучания языка Си! Great book for learn C-language! Subscribe https://warpcast.com/~/channel/catscode

  • 0 replies
  • 0 recasts
  • 2 reactions

#include <stdio.h> #include <stdlib.h> int main() { // We will use the following variable as a pointer to the array: int* ptr = NULL; // There we've allocated the memory for 2 array cells: ptr = (int*)malloc(2*sizeof(int)); // Next step: fill two cells with random numbers: ptr[0] = 15; ptr[1] = -8; // Finally, print the data from the array to the screen: printf("%d %d", ptr[0], ptr[1]); return 0; }

  • 1 reply
  • 0 recasts
  • 1 reaction

Onchain profile

Ethereum addresses