StackOverflow Questions for Tag: variable-length-array

frillybob
frillybob

Reputation: 620

Function Prototypes with multi-dimensional arrays as a parameter

Score: 3

Views: 10200

Answers: 2

Read More
Sacrifice
Sacrifice

Reputation: 1

Can the size of a static array be determined at run time?

Score: -3

Views: 90

Answers: 0

Read More
SB56
SB56

Reputation: 27

How to pass a two-dimensional array to a function in C?

Score: 3

Views: 1256

Answers: 3

Read More
axel
axel

Reputation: 91

Specifying dimension of array in function and outside function does not give same result

Score: 3

Views: 88

Answers: 2

Read More
KamilCuk
KamilCuk

Reputation: 140792

What is the order of evaluation of VLA dimensions?

Score: 5

Views: 119

Answers: 1

Read More
pmor
pmor

Reputation: 6277

Is definition of variable length array (VLA) / known constant size recursive?

Score: 2

Views: 91

Answers: 1

Read More
Shahbaz
Shahbaz

Reputation: 47493

What's the point of VLA anyway?

Score: 45

Views: 34507

Answers: 6

Read More
Szabolcs
Szabolcs

Reputation: 25703

C++ replacement for C99 VLAs (goal: preserve performance)

Score: 38

Views: 3217

Answers: 3

Read More
invertedPanda
invertedPanda

Reputation: 328

Support for `sizeof T[n]` in the Frama-C framework

Score: 1

Views: 85

Answers: 1

Read More
Venusaur
Venusaur

Reputation: 393

Why VLA is comparable to gets?

Score: 0

Views: 24

Answers: 0

Read More
Muhammad Muttaqin
Muhammad Muttaqin

Reputation: 1

How do I store integers into 2 different arrays in C programming

Score: -2

Views: 108

Answers: 2

Read More
Jonathan Leffler
Jonathan Leffler

Reputation: 753385

Why is this VLA (variable-length array) definition unreliable?

Score: 2

Views: 1098

Answers: 1

Read More
Madagascar
Madagascar

Reputation: 7345

Check if array is a VLA at compile-time

Score: 4

Views: 123

Answers: 1

Read More
GrandeKnight
GrandeKnight

Reputation: 35

How to assign anonymous VLA to pointer?

Score: 2

Views: 134

Answers: 3

Read More
Lover of Structure
Lover of Structure

Reputation: 1848

What are the exact conditions under which type_name in sizeof(type_name) is evaluated? GCC evaluates f() in sizeof(int [(f(), 100)])

Score: 6

Views: 125

Answers: 2

Read More
Lundin
Lundin

Reputation: 213066

Correctly allocating multi-dimensional arrays

Score: 105

Views: 16799

Answers: 3

Read More
umair mughal
umair mughal

Reputation: 96

Define array globally with variable parameter in C

Score: 0

Views: 299

Answers: 4

Read More
tomastrue
tomastrue

Reputation: 11

C How to create an 2d array of characters?

Score: 0

Views: 1097

Answers: 3

Read More
B-rad
B-rad

Reputation: 55

Why is stack memory usage in C++ determined at compile time?

Score: 2

Views: 367

Answers: 3

Read More
f1chen
f1chen

Reputation: 121

In C++ books, array bound must be constant expression, but why the following code works?

Score: 10

Views: 1175

Answers: 2

Read More
PreviousPage 1Next