Anton pfp

Anton

@antohin

1104 Following
419 Followers


Anton pfp
Anton
@antohin
πŸ”₯ 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 reply
2 recasts
1 reaction

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0x374aa1b4
0 reply
1 recast
8 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
1 reply
0 recast
7 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
1 recast
0 reaction

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
0 recast
2 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
3 recasts
10 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
1 recast
10 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
3 recasts
1 reaction

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
0 recast
2 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
0 recast
4 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
1 recast
0 reaction

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
0 recast
7 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
0 recast
9 reactions

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
0 recast
0 reaction

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
3 recasts
1 reaction

Anton pfp
Anton
@antohin
https://warpcast.com/antohin/0xd78d9aab
0 reply
1 recast
0 reaction

Anton pfp
Anton
@antohin
πŸ”₯ 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 reply
0 recast
4 reactions

Anton pfp
Anton
@antohin
πŸ”₯ Take this! πŸ”₯ Do you remember when we talk about the addresses of variables? This concept is very important, because whole of technical devices uses it! Lets describe this on picture with maximally precision! Is not this beautiful? ☺️
1 reply
4 recasts
3 reactions

Anton pfp
Anton
@antohin
ΠžΡ‚Π»ΠΈΡ‡Π½Π°Ρ ΠΊΠ½ΠΈΠ³Π° для изучания языка Π‘ΠΈ! Great book for learn C-language! Subscribe https://warpcast.com/~/channel/catscode
0 reply
0 recast
3 reactions

Anton pfp
Anton
@antohin
πŸ”₯ Hey, friends! Can you subscribe on this channel? I will gift you 20 warps πŸ’₯ https://warpcast.com/~/channel/catscode
0 reply
0 recast
0 reaction