Anton pfp

Anton

@antohin

285 Following
144 Followers


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

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

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

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

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

Anton pfp
Anton
@antohin
Do you remember how we filled the array automatically? 🔥 🔥 🔥 GOOD! 🔥 🔥 🔥 Now, based on this code, we will create a function that will do this. We will call this function filling_the_array. Note how we filled two arrays using this function. At the same time, we described the code for filling only once :) #include <stdio.h> #include <stdlib.h> // Declaration int* filling_the_array(int* array); int main() { int* ptr_1 = NULL; // Firt function using ptr_1 = filling_the_array(ptr_1); for(int i = 0; i<5; i++) printf("%d ", *(ptr_1+i)); printf("\n"); int* ptr_2 = NULL; // Second function using ptr_2 = filling_the_array(ptr_2); for(int i = 0; i<5; i++) printf("%d ", *(ptr_2+i)); return 0; } // Description int* filling_the_array(int* array) { int* next_ptr = NULL; array = (int*)malloc(5*sizeof(int)); for(next_ptr = array; next_ptr-array<5; next_ptr++) *next_ptr = rand()%9; return array; }
0 reply
0 recast
0 reaction

Anton pfp
Anton
@antohin
👀 Hey, friends! Can you subscribe on my channel? I will gift you 10 warps 💥 https://warpcast.com/~/channel/catscode
0 reply
0 recast
1 reaction

Anton pfp
Anton
@antohin
👀 Hey, friends! Can you subscribe on my channel? I will gift you 10 warps 💥 https://warpcast.com/~/channel/catscode
0 reply
0 recast
0 reaction

Anton pfp
Anton
@antohin
👀 Hey, friends! Can you subscribe on my channel? I will gift you 10 warps 💥 https://warpcast.com/~/channel/catscode
0 reply
0 recast
0 reaction

Anton pfp
Anton
@antohin
👀 Hey, friends! Can you subscribe on my channel? I will gift you 10 warps 💥 https://warpcast.com/~/channel/catscode
1 reply
0 recast
0 reaction

Anton pfp
Anton
@antohin
Lets learn C-language together! ☑️ You are welcome! Subscribe ^_^ https://warpcast.com/antohin/0x7991c0c5
0 reply
0 recast
2 reactions

Anton pfp
Anton
@antohin
Lets learn C-language together! ☑️ You are welcome! Subscribe ^_^ https://warpcast.com/antohin/0x7991c0c5
1 reply
0 recast
1 reaction

Anton pfp
Anton
@antohin
Lets learn C-language together! ☑️ Subscribe ^_^ https://warpcast.com/antohin/0x7991c0c5
0 reply
0 recast
2 reactions

Anton pfp
Anton
@antohin
Lets learn C-language together! ☑️ Subscribe ^_^ https://warpcast.com/antohin/0x7991c0c5
0 reply
0 recast
2 reactions

Anton pfp
Anton
@antohin
Lets learn C-language together! ☑️ Subscribe ^_^ https://warpcast.com/antohin/0x7991c0c5
0 reply
0 recast
2 reactions

Anton pfp
Anton
@antohin
Lets learn C-language together! ☑️ Subscribe ^_^ https://warpcast.com/antohin/0x7991c0c5
0 reply
1 recast
3 reactions

Anton pfp
Anton
@antohin
Lets learn C-language together! ☑️ Subscribe ^_^ https://warpcast.com/antohin/0x7991c0c5
0 reply
1 recast
1 reaction

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

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

Anton pfp
Anton
@antohin
Is it true that there are libraries written in C to create smart contracts? What do you think? 👀
0 reply
0 recast
2 reactions