StackOverflow Questions for Tag: null-pointer

Matthieu M.
Matthieu M.

Reputation: 299730

Is it guaranteed to be safe to perform memcpy(0,0,0)?

Score: 101

Views: 36019

Answers: 5

Read More
xdevel2000
xdevel2000

Reputation: 21364

C23 and memory representation of nullptr

Score: 1

Views: 110

Answers: 2

Read More
Akib Aftermath
Akib Aftermath

Reputation: 3

An inclusion of a null pointer is making content of another pointer to have a value (most probably garbage)

Score: 0

Views: 91

Answers: 1

Read More
GManNickG
GManNickG

Reputation: 503775

When does invoking a member function through a null pointer result in undefined behavior?

Score: 132

Views: 18937

Answers: 4

Read More
wimalopaan
wimalopaan

Reputation: 5462

Is a non-constant zero integer cast to `void *` still a null pointer?

Score: 7

Views: 188

Answers: 2

Read More
wimalopaan
wimalopaan

Reputation: 5462

GCC: null-pointer-checks and undefined-behaviour

Score: 0

Views: 80

Answers: 2

Read More
displayname
displayname

Reputation: 1

defining the start of a string in a CSV file to guarantee proper comparison

Score: 0

Views: 46

Answers: 0

Read More
Devon
Devon

Reputation: 1

Nested strtok() calls to tokenize given string does not work as expected

Score: 0

Views: 53

Answers: 1

Read More
Lundin
Lundin

Reputation: 213286

Why isn't the keyword false an integer constant expression in gcc C23?

Score: 37

Views: 2755

Answers: 2

Read More
Earlz
Earlz

Reputation: 63805

Why can you assign nullptr to std::string?

Score: 8

Views: 3527

Answers: 2

Read More
user2354035
user2354035

Reputation:

Can't find @Nullable inside javax.annotation.*

Score: 180

Views: 203295

Answers: 10

Read More
Sasha
Sasha

Reputation: 361

C: NULL > NULL always false?

Score: 2

Views: 114

Answers: 1

Read More
TLW
TLW

Reputation: 1439

Is &*NULL well-defined in C++?

Score: 11

Views: 487

Answers: 1

Read More
luk32
luk32

Reputation: 16070

Can pointer taken from reference ever be null in well-defined c++?

Score: 5

Views: 530

Answers: 1

Read More
Step
Step

Reputation: 307

NULL POINTER in C++

Score: 0

Views: 555

Answers: 2

Read More
user454083
user454083

Reputation: 1397

In which cases is the "this" pointer null in a constructor?

Score: 20

Views: 15581

Answers: 4

Read More
chqrlie
chqrlie

Reputation: 144550

Is there an equivalent of __attribute__((nonnull)) in C23?

Score: 4

Views: 452

Answers: 2

Read More
Shahbaz
Shahbaz

Reputation: 47493

Is (int *)0 a null pointer?

Score: 22

Views: 13324

Answers: 2

Read More
Rupa TS
Rupa TS

Reputation: 19

File pointer null in c

Score: -1

Views: 275

Answers: 1

Read More
hashim
hashim

Reputation: 55

Defining a Macro having struct argument

Score: 1

Views: 56

Answers: 1

Read More
PreviousPage 1Next