dev c
CtrlK
  • Introduction
  • Variable
  • Data Type
    • Data model
    • Data Alignment
      • stdint.h
  • Escape Sequence
  • First Chapter
  • How to C in 2016
  • Head Files
  • Struct
  • Compiler
    • GCC
    • Clang
  • Design Pattern
  • Pointer
    • Pointer 運算
    • With Array
    • New and Delete
    • Memory Allocation
    • Pointer to Pointer
    • char pointer
    • function pointer
  • STDIO
  • Variable-length argument
  • Struct
    • Struct and Pointer
    • Union
  • Advanced
    • pragma
  • C Library
    • assert.h
    • string.h
  • swap function
  • Function
    • Basics
    • Use function as args
  • Operator
    • Increment, Assignment, Decrement
  • Operators
  • Associative Array
  • 題庫
  • Array
    • Strings
Powered by GitBook
On this page

Was this helpful?

  1. Pointer

Pointer 運算

#指標運算

指標運算上加 1 ,是表示前進一個資料型態的記憶體長度,例如在

int型態的指標上加 1,是表示在記憶體位址上前進 4 個位元組的長度 (double 則是 8)

PreviousPointerNextWith Array

Last updated 4 years ago

Was this helpful?