Realloc Questions

Ad
Ad
Ad

realloc an array with c

I tried to find similar title questions with mine, but i didn't find what i wanted. so here is my question. if i malloc an array with size of 10,

Realloc in C random int

I have a problem with reallocating memory of dynamically allocated array. so what i am trying to do is: typedef struct { int
Ad

Malloc() a double nested struct in C

The goal is to have structs of type unit filling that array in struct line, and struct line filling the array in struct fulldata so it essentially

increase size of array

May you help me with this exercise please? write a c program that reads 6 integers from the keyboard and assigns the first

Realloc trouble

I have problem. i have stroke: "/hello/world" i need to copy word 'hello' to another string; i have this code: void
Ad
Ad

Blog Categories

Ad