StackOverflow Questions for Tag: pointer-conversion

Ritik Kumar
Ritik Kumar

Reputation: 701

Can Anyone explain why I'm getting 1 here?

Score: 0

Views: 125

Answers: 2

Read More
wimalopaan
wimalopaan

Reputation: 5472

Aliasing and pointer-interconvertability

Score: 2

Views: 311

Answers: 2

Read More
user12116614
user12116614

Reputation:

Address location and value at address location in C

Score: 2

Views: 253

Answers: 2

Read More
Yastanub
Yastanub

Reputation: 1237

Is (void*) ptr == ptr always true?

Score: 3

Views: 395

Answers: 2

Read More
TerryTsao
TerryTsao

Reputation: 770

C++: is reinterpret_cast the best choice in these scenarios?

Score: 3

Views: 481

Answers: 1

Read More
agirault
agirault

Reputation: 2956

Passing a Swift protocol to an Objective-C pointer

Score: 6

Views: 903

Answers: 1

Read More
Tree
Tree

Reputation: 7

Pointer casting:can the Pointer has value?

Score: -3

Views: 73

Answers: 1

Read More
afiori
afiori

Reputation: 639

Accessing first field of struct in a union of structs

Score: 3

Views: 2382

Answers: 1

Read More
user4385532
user4385532

Reputation:

Is it legal to implement inheritance in C by casting pointers between one struct that is a subset of another rather than first member?

Score: 4

Views: 1126

Answers: 2

Read More
Narek
Narek

Reputation: 39881

Conversion from Derived** to Base**

Score: 16

Views: 2463

Answers: 3

Read More
Andrew Sun
Andrew Sun

Reputation: 4241

Proper type for a dynamic array of const strings

Score: 17

Views: 601

Answers: 2

Read More
Robin Hsu
Robin Hsu

Reputation: 4514

C++ polymorphism function taking void * and other pointer type as argument: is it considered ambiguous?

Score: 0

Views: 1411

Answers: 1

Read More
翟桂锋
翟桂锋

Reputation: 158

Protobuf-2.6.1 compile error on Solaris 10 SPARC 64

Score: 1

Views: 407

Answers: 1

Read More
yuri kilochek
yuri kilochek

Reputation: 13589

Is it safe to cast pointer to integer, increment that integer, and cast back?

Score: 2

Views: 582

Answers: 1

Read More
Alexander_KH
Alexander_KH

Reputation: 189

C++ implicit conversion of pointer type

Score: 2

Views: 1113

Answers: 1

Read More
user3079266
user3079266

Reputation:

C function pointer type compatibility

Score: 2

Views: 1443

Answers: 1

Read More
Mitsukurina owstoni
Mitsukurina owstoni

Reputation: 43

Why is it not allowed to cast Derived T::* to Base T::*?

Score: 2

Views: 130

Answers: 1

Read More

Pointer/integer arithmetic (un)defined behaviour

Score: 6

Views: 528

Answers: 1

Read More
Dubby
Dubby

Reputation: 1144

Type conversion with pointers

Score: -2

Views: 353

Answers: 2

Read More
Prannoy Mittal
Prannoy Mittal

Reputation: 1575

Conversion of uchar array to uint8 type pointer

Score: 2

Views: 1247

Answers: 1

Read More
PreviousPage 2Next