StackOverflow Questions for Tag: null-pointer

Hamza Kyamanywa
Hamza Kyamanywa

Reputation: 588

Adding integer to null pointer address is returning unexpected result

Score: -3

Views: 778

Answers: 3

Read More
cpuer
cpuer

Reputation: 7793

How do we check if a pointer is NULL pointer?

Score: 70

Views: 234459

Answers: 9

Read More
Athar Mujtaba Wani
Athar Mujtaba Wani

Reputation: 9

why we use two conditions in head!=nullptr && head->next != nullptr in floyd cycle detection algorithm?

Score: -1

Views: 230

Answers: 2

Read More
GandalfGreybeard
GandalfGreybeard

Reputation: 13

Why can I assign NULL to a pointer in my main function, but with the exact same code not in a other function?

Score: 1

Views: 51

Answers: 1

Read More
math4tots
math4tots

Reputation: 8869

ANSI C conforming platforms where all-bits-zero is not a null pointer representation

Score: 5

Views: 434

Answers: 2

Read More
math4tots
math4tots

Reputation: 8869

Are there any platforms with nonzero null pointer values? If so, how common are they?

Score: 0

Views: 136

Answers: 0

Read More
huntrese
huntrese

Reputation: 25

how to fix a Runtime error in a char array

Score: 0

Views: 144

Answers: 1

Read More
0___________
0___________

Reputation: 68034

Three questions: Is NULL - NULL defined? Is (uintptr_t)NULL - (uintptr_t)NULL defined?

Score: 3

Views: 318

Answers: 1

Read More
Ryan
Ryan

Reputation: 3

Segmentation Fault While Manipulating String

Score: 0

Views: 71

Answers: 2

Read More
Naman Sharma
Naman Sharma

Reputation: 53

Null pointer dereference not leading to seg-fault in previous statements

Score: 5

Views: 696

Answers: 2

Read More
Vicgi
Vicgi

Reputation: 1

Exception thrown: read access violation this. was nullptr

Score: 0

Views: 88

Answers: 1

Read More
KostasA
KostasA

Reputation: 5578

empty char array, the ways I check it are the same?

Score: -1

Views: 1217

Answers: 4

Read More
Prajapati Dhruv
Prajapati Dhruv

Reputation: 48

Last node is not printed in Linked List

Score: 1

Views: 448

Answers: 3

Read More
Gaurav Singh
Gaurav Singh

Reputation: 31

ReactEditText.java , Fatal Exception: java.lang.NullPointerException

Score: 3

Views: 255

Answers: 0

Read More
Suhail Akhtar
Suhail Akhtar

Reputation: 629

Why my head pointer is changing in linked list,even not passing it by reference?

Score: -3

Views: 2695

Answers: 2

Read More
anton_rh
anton_rh

Reputation: 9223

Is null pointer a valid iterator?

Score: 1

Views: 101

Answers: 0

Read More
St.Antario
St.Antario

Reputation: 27455

Can we subtract NULL pointers?

Score: 8

Views: 1595

Answers: 4

Read More
Codebird
Codebird

Reputation: 111

Can you test for nullpointers in Fortran?

Score: 7

Views: 1807

Answers: 2

Read More
Navaneeth K N
Navaneeth K N

Reputation: 15541

Accessing class members on a NULL pointer

Score: 51

Views: 18684

Answers: 8

Read More
user19007709
user19007709

Reputation: 23

what is the termination condition for this C for loop

Score: 1

Views: 116

Answers: 1

Read More
PreviousPage 3Next