code block Name ๅ็กใ 0001/01/01 ( ๆ ) No.-62135596800
this is a test to see if coding works
#include <stdio.h>#include <stdlib.h>int main(){ int a = 10; int *b = malloc(sizeof(int) * 10); if(b == NULL){ printf("cannot allocate array\n"); return 1; } for(int i = 0; i < 10; i++){ b[i] = rand() % 1; } return 0;}should work?
ok it does work, not let see how greentext works>first line
>second line
>third line
>fourth oneworks like a charm