FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Pointer in C++
NewsSystems

Pointer in C++

via Dev.toDolly Sharma3w ago

Understanding Pointer Size and Dereferencing in C/C++ Introduction Pointers are an important concept in C and C++. A pointer is a variable that stores the memory address of another variable . Instead of storing a value directly, it points to the location where the value is stored in memory. Understanding pointer size, dereferencing, and pointer assignment is essential for efficient memory management. Pointer Size in C/C++ The size of a pointer does not depend on the data type it points to . Instead, it depends on the system architecture (32-bit or 64-bit). For example, the following pointer types: int* char* float* double* long long* void* all have the same size on the same system. Pointer Size on Different Systems System Type Pointer Size 32-bit system 4 bytes 64-bit system 8 bytes Most modern computers use 64-bit architecture , so the pointer size is usually 8 bytes . Example Program #include <stdio.h> int main () { printf ( "%zu \n " , sizeof ( int * )); printf ( "%zu \n " , sizeof

Continue reading on Dev.to

Opens in a new tab

Read Full Article
16 views

Related Articles

Anker&#8217;s power bank with built-in cables is one of my favorite gadgets, and it&#8217;s cheaper than usual
News

Anker&#8217;s power bank with built-in cables is one of my favorite gadgets, and it&#8217;s cheaper than usual

The Verge • 16h ago

Meta was finally held accountable for harming teens. Now what?
News

Meta was finally held accountable for harming teens. Now what?

TechCrunch • 16h ago

Every Senior Engineer I Respect Has Read These Books (Have You?)
News

Every Senior Engineer I Respect Has Read These Books (Have You?)

Medium Programming • 16h ago

Caller ID app Truecaller hits 500 million monthly users
News

Caller ID app Truecaller hits 500 million monthly users

TechCrunch • 17h ago

Evercade’s new handheld has a larger screen and dual thumbsticks for 3D games
News

Evercade’s new handheld has a larger screen and dual thumbsticks for 3D games

The Verge • 17h ago

Discover More Articles