D
D
Dmitry Dievsky2016-09-18 17:56:18
C++ / C#
Dmitry Dievsky, 2016-09-18 17:56:18

What does this line (c++) mean?

void randl(float *mas, size_t n)
I understand that this is a void function, but what exactly is passed into it? And how I don't know

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Matthew Strechen, 2016-09-18
@X_Warlock

This is probably a function that takes a pointer to an array of floats and the size of the array.
(type size_t is an integer type, designed specifically for specifying the sizes of containers and arrays)

V
Vladimir Martyanov, 2016-09-18
@vilgeforce

It is passed a pointer to a float and the second parameter is size_t.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question