Skip to Content
Pointers in C: A Hands on Approach
book

Pointers in C: A Hands on Approach

by Naveen Toppo, Hrishikesh Dewan
December 2013
Intermediate to advanced
168 pages
3h 33m
English
Apress

Overview

Pointers in C provides a resource for professionals and advanced students needing in-depth but hands-on coverage of pointer basics and advanced features. The goal is to help programmers in wielding the full potential of pointers.

In spite of its vast usage, understanding and proper usage of pointers remains a significant problem. This book's aim is to first introduce the basic building blocks such as elaborate details about memory, the compilation process (parsing/preprocessing/assembler/object code generation), the runtime memory organization of an executable and virtual memory. These basic building blocks will help both beginners and advanced readers to grasp the notion of pointers very easily and clearly. The book is enriched with several illustrations, pictorial examples, and code from different contexts (Device driver code snippets, algorithm, and data structures code where pointers are used).

Pointers in C contains several quick tips which will be useful for programmers for not just learning the pointer concept but also while using other features of the C language. Chapters in the book are intuitive, and there is a strict logical flow among them and each chapter forms a basis for the next chapter. This book contains every small aspect of pointer features in the C language in their entirety.

What you'll learn

  • The concept of pointers and their use with different data types

  • Basic and advanced features of pointers

  • Concepts of compilers, virtual memory, data structures, algorithms and string processing

  • Concepts of memory and runtime organization

  • Referencing and dereferencing of pointer variables

  • NULL pointers, Dangling pointers, VOID pointers and CONST qualifiers

  • Workings of dynamic data structures

  • Pointers to pointers

  • Triple, and quadrupal pointers

  • Self referential structures, structure padding, and cache based optimization techniques.

  • Who this book is for

    Professional programmers, advanced students of computer science, and enthusiasts of the C language. Embedded systems programmers will also find the advanced knowledge of pointers offered in this book very helpful.

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Understanding and Using C Pointers

    Understanding and Using C Pointers

    Richard M Reese

    Publisher Resources

    ISBN: 9781430259114Purchase book