StackOverflow Questions for Tag: calloc

Himanshu
Himanshu

Reputation: 1

How to undef calloc() function from stdlib to use our own function

Score: 0

Views: 143

Answers: 1

Read More
Lover of Structure
Lover of Structure

Reputation: 1858

What type can the result of calloc be assigned to, a pointer to an array, a pointer to the type contained within the array, or either?

Score: 1

Views: 146

Answers: 2

Read More
Harshit Singh
Harshit Singh

Reputation: 71

How am I supposed to initialize a array using calloc inside a function?

Score: 0

Views: 87

Answers: 1

Read More
MA19
MA19

Reputation: 580

Failure in allocating contiguous memory allocation using calloc

Score: 0

Views: 366

Answers: 1

Read More
Frank Okey
Frank Okey

Reputation: 11

Is there a function(s) to copy a string into a new space in memory

Score: 1

Views: 153

Answers: 2

Read More
Ethan
Ethan

Reputation: 167

Can you dynamically allocate a partially fixed-size array in C (2d array)?

Score: 0

Views: 175

Answers: 2

Read More
dayuloli
dayuloli

Reputation: 17031

How to advance pointer in order to shorten a string?

Score: 2

Views: 128

Answers: 2

Read More
elpekos
elpekos

Reputation: 11

random seg fault with calloc

Score: 0

Views: 57

Answers: 1

Read More
korsidar
korsidar

Reputation: 53

Why is np.zeros() faster than re-initializing an existing array in Numba with Python?

Score: 5

Views: 568

Answers: 1

Read More
Divya
Divya

Reputation: 393

How does realloc work on memory allocated using calloc?

Score: 1

Views: 14866

Answers: 3

Read More
Antonio
Antonio

Reputation: 181

MPI, calloc and free:

Score: 0

Views: 1531

Answers: 2

Read More
user19061388
user19061388

Reputation: 11

List in C Error - Stack around the variable 'memory' was corrupted

Score: 1

Views: 52

Answers: 1

Read More
Yoel Marcu
Yoel Marcu

Reputation: 1

Assign a pointer to point to a struct

Score: 0

Views: 39

Answers: 0

Read More
Connor
Connor

Reputation: 1094

Why does memset fail and calloc succeed?

Score: 0

Views: 260

Answers: 5

Read More
Connor
Connor

Reputation: 1094

Can you dynamically initialize stack memory to zero?

Score: 1

Views: 459

Answers: 3

Read More
ASZ
ASZ

Reputation: 55

CS50 pset 4 smiley - what's the meaning of code line from license taks?

Score: 2

Views: 789

Answers: 2

Read More
chroshimmer
chroshimmer

Reputation: 31

Why using both malloc/calloc/realloc and brk functions will results in undefined behavior?

Score: 1

Views: 174

Answers: 1

Read More
einpoklum
einpoklum

Reputation: 132128

Does CUDA really not have a calloc()-like API call?

Score: 7

Views: 7904

Answers: 4

Read More
user105033
user105033

Reputation: 19608

Difference between malloc and calloc?

Score: 970

Views: 673474

Answers: 14

Read More
PreviousPage 2Next