oops, I changed the order of instructions red and blue.
I don't want to keep track of the size, I want to have a dynamic array and calculate its size
Type: Posts; User: budala
oops, I changed the order of instructions red and blue.
I don't want to keep track of the size, I want to have a dynamic array and calculate its size
how do I get the length (or size) of a dynamic array? tried this but I get 0
#include <stdio.h>
#include <stdlib.h>
typedef struct a
{
int age;