StackOverflow Questions for Tag: sizeof

leschtsch
leschtsch

Reputation: 101

Size of derived depends on base's access specifiers

Score: -1

Views: 67

Answers: 0

Read More
Hamza
Hamza

Reputation: 52

Why the Struct padding is same in 64 bit and 32 bit systems?

Score: 3

Views: 1155

Answers: 3

Read More
codingfreak
codingfreak

Reputation: 4595

How to find the size of a variable without using sizeof

Score: 3

Views: 46046

Answers: 13

Read More
N Rogith
N Rogith

Reputation: 1

Unpredictive array size

Score: 0

Views: 57

Answers: 0

Read More
Gengsheng Liu
Gengsheng Liu

Reputation: 1

How to list all structure definition and get the structure size in gdb?

Score: -2

Views: 1241

Answers: 1

Read More
MaSc. H.
MaSc. H.

Reputation: 133

Sizeof vs array size

Score: 3

Views: 141

Answers: 2

Read More
Nitin Kumar
Nitin Kumar

Reputation: 13

size of a struct in Go without initialising a variable of struct

Score: -6

Views: 129

Answers: 1

Read More
Jörg Haubrichs
Jörg Haubrichs

Reputation: 2253

Sizeof struct in Go

Score: 39

Views: 81641

Answers: 7

Read More
user2341104
user2341104

Reputation:

Why is int typically 32 bit on 64 bit compilers?

Score: 48

Views: 31365

Answers: 8

Read More
Mike
Mike

Reputation: 814

Declare array based on size of another array

Score: 4

Views: 167

Answers: 5

Read More
Dan
Dan

Reputation: 2165

Is the sizeof() value determined by compiler or linker?

Score: 4

Views: 348

Answers: 1

Read More
j s
j s

Reputation: 307

Why is the size of the data type different when the value is directly passed to the sizeof operator?

Score: 17

Views: 1323

Answers: 4

Read More
Shravan
Shravan

Reputation: 2918

Why do books say, “the compiler allocates space for variables in memory”?

Score: 11

Views: 1293

Answers: 7

Read More
Tri-Edge AI
Tri-Edge AI

Reputation: 340

How can I force the size of long to 8-bytes on any arch?

Score: 0

Views: 235

Answers: 1

Read More
Ana Nimbus
Ana Nimbus

Reputation: 735

What is the effect of sizeof for hypothetically oversized objects?

Score: 3

Views: 159

Answers: 1

Read More
mezda
mezda

Reputation: 3647

how compiler works to evaluate sizeof operator in c

Score: 4

Views: 3055

Answers: 4

Read More
Boris
Boris

Reputation: 1467

Sizeof equality of direct members vs inherited members

Score: 2

Views: 105

Answers: 0

Read More
Abe Schneider
Abe Schneider

Reputation: 987

Is this a bug using sizeof...() operator?

Score: 3

Views: 216

Answers: 1

Read More
user1360764
user1360764

Reputation:

Why the size of the object is zero

Score: 4

Views: 300

Answers: 4

Read More
Pavan Manjunath
Pavan Manjunath

Reputation: 28545

What decides the sizeof an integer?

Score: 6

Views: 9439

Answers: 2

Read More
PreviousPage 1Next