SN PLUS 3
SN PLUS 3

Suggestions

Use up and down arrows to review and enter to select.
  • Shakespeare dark gray
    • No Fear Shakespeare Translations
    • Shakespeare Study Guides
    • Shakespeare Life & Times
    • Glossary of Shakespeare Terms
  • Literature dark gray
    • No Fear Literature Translations
    • Literature Study Guides
    • Glossary of Literary Terms
    • How to Write Literary Analysis
  • Other Subjects dark gray
    • Biography
    • Biology
    • Chemistry
    • Computer Science
    • Drama
    • Economics
    • Film
    • Health
    • History
    • Math
    • Philosophy
    • Physics
    • Poetry
    • Psychology
    • Short Stories
    • Sociology
    • US Government and Politics
  • Test Prep PLUS dark gray
    • Test Prep Lessons
    • AP® English Literature
    • AP® English Language
  • Teacher dark gray
    • SparkTeach
    • Teacher's Handbook
  • Blog
My PLUS Dashboard
  • My PLUS Activity dark gray
    • Notes
    • Bookmarks
    • Test Prep PLUS
    • No Fear Translations & Audio
    • Mastery Quizzes
    • Flashcards
    • Infographics
    • No Fear Graphic Novels
  • Account Details
  • Subscription & Billing

Please wait while we process your payment

Reset Password

  • Please wait while we process your payment

    Log in Sign up

    Sparknotes

  • By signing up you agree to our terms and privacy policy.

    Don’t have an account? Subscribe now

    Create Your Account

    Sign up for your FREE 7-day trial

    • Ad-free experience
    • Study notes
    • Flashcards
      & Quizzes
    • AP® English Test Prep
    • Plus much more

  • Already have an account? Log in

    Your Email

    Choose Your Plan

    BEST VALUE

    Save over 50% with a SparkNotes PLUS Annual Plan!

    Continuing to Payment will take you to astripe-imagepayment page

    Purchasing SparkNotes PLUS for a group?

    Get Annual Plans at a discount when you buy 2 or more!

  • Price

    $24.99 $18.74 /subscription + tax

    Subtotal $37.48 + tax

    Save 25% on 2-49 accounts

    Save 30% on 50-99 accounts

    Want 100 or more? Contact us for a customized plan.

    Your Plan

    Payment Details

  • We're sorry, SparkNotes Plus isn't available in your country.

  • Payment Details

    Payment Summary

    SparkNotes Plus

    You'll be billed after your free trial ends.

    7-Day Free Trial

    Not Applicable

    Renews March 30, 2023 March 23, 2023

    Discounts (applied to next billing)

    DUE NOW

    US $0.00

    SNPLUSROCKS20  |  20% Discount

    This is not a valid promo code.

    Discount Code (one code per order)

    SparkNotes Plus subscription is $4.99/month or $24.99/year as selected above. The free trial period is the first 7 days of your subscription. TO CANCEL YOUR SUBSCRIPTION AND AVOID BEING CHARGED, YOU MUST CANCEL BEFORE THE END OF THE FREE TRIAL PERIOD. You may cancel your subscription on your Subscription and Billing page or contact Customer Support at custserv@bn.com. Your subscription will continue automatically once the free trial period is over. Free trial is available to new customers only.

    Choose Your Plan

    Suggestions

    Use up and down arrows to review and enter to select.
    • My Account Icon My Account white
      • My PLUS Activity
        • Notes
        • Bookmarks
        • Test Prep PLUS
        • No Fear Translations
        • Mastery Quizzes
        • Flashcards
        • Infographics
        • No Fear Graphic Novels
      • Account Details
      • Subscription & Billing
      My PLUS Dashboard
    • Shakespeare white
      • No Fear Shakespeare Translations
      • Shakespeare Study Guides
      • Shakespeare Life & Times
      • Glossary of Shakespeare Terms
    • Literature white
      • No Fear Literature Translations
      • Literature Study Guides
      • Glossary of Literary Terms
      • How to Write Literary Analysis
    • Other Subjects white
      • Biography
      • Biology
      • Chemistry
      • Computer Science
      • Drama
      • Economics
      • Film
      • Health
      • History
      • Math
      • Philosophy
      • Physics
      • Poetry
      • Psychology
      • Short Stories
      • Sociology
      • US Government and Politics
    • Test Prep PLUS white
      • Test Prep Lessons
      • AP® English Literature
      • AP® English Language
    • Teacher white
      • SparkTeach
      • Teacher's Handbook
    • Blog
    • Help

    Please wait while we process your payment

    expired-logo

    Your PLUS subscription has expired

    • We’d love to have you back! Renew your subscription to regain access to all of our exclusive, ad-free study tools.
    Renew your subscription

    Please wait while we process your payment

    expired-logo

    snpromo-logo
    • Looking for exclusive, AD-FREE study tools? Look no further!

    What Are Pointers?

    Computer Science

    Study Guide
    • Study Guide
    • Topics
      • Introduction and Summary
      • Pointers Point
      • Problems
      • Pointer Syntax
      • Problems
      • Pointers and Arrays
      • Problems
    • Terms

    Please wait while we process your payment

    snplus-logo

    Unlock your FREE SparkNotes PLUS trial!

    Unlock your FREE Trial!

    Sign up and get instant access to bookmarks.
    • Ad-Free experience
    • Easy-to-access study notes
    • Flashcards & Quizzes
    • AP® English test prep
    • Plus much more
    Already have an account? Log in

    Terms

    Terms
    • Address

      The numbered location of a place in memory. An address of a certain piece of memory is used by the computer to identify each piece and locate it quickly, just as the postal address of a house is used to help quickly identify it to the postman.

    • Array

      A data structure that groups a number of data elements of the same type together into a sequential list in memory.

    • Binary Notation

      For most math in every day life, humans use decimal notation, meaning that each digit in a number can be from 0 to 9 (decimal means 10, or 10 possible numbers for each digit). Computers, however, use binary notation to represent a number, binary meaning 2. This means that each digit can be one of two possible numbers, a 0 or a 1. This works well for a computer as it can represent each digit as a switch that can be either on or off, on being a 1, and off being a 0.

    • Compile

      When programmers write code, they often write it in a high-level language like C or C++. The computer, however, cannot understand this code as is. The computer can only understand machine code, 0's and 1's that tell the computer exactly what instructions to carry out. In order to convert from the high-level code written by the programmer to the machine code the computer can use, the user must run the high-level code through a compiler, an application that does the translation. This process is referred to as compiling.

    • Crashing

      The operating system is very protective of the computer and all applications running on it (or at least it should be). If an application attempts to do something that doesn't make any sense or that might harm another program, the operating system will most likely shut down the offending program. This unexpected shutting down is referred to as crashing. An application will normally crash due to something unexpected that occurred, be it an error in the programming of that application, a memory problem, a disk access problem, etc. Depending on the operating system running, sometimes the crashing of an application will only affect that one application, and sometimes it will affect other applications (or even the operating system itself) running on the computer.

    • Declare

      To declare a variable or a function is to tell the computer that you intend to use the function or variable being declared. The computer sets aside the resources needed to provide the things being declared. In most high-level languages, like C/C++, variables must be explicitly declared before they can be used, while in others, like lisp and perl, declaration is done implicitly (without being specifically programmed in).

    • Decimal Notation

      Decimal notation, or base 10, is the method of writing down numbers that humans use for most everyday purposes. Decimal means 10, meaning that when we write a digit in a number it can be one of 10 possible digits, anything from a 0 to a 9.

    • Dereference

      A pointer stores an address of a location in memory. To get at what that value contains, we need to dereference the pointer, meaning we need to go to that location and get what is there.

    • Hexadecimal Notation

      Like decimal notation and binary notation, hexadecimal notation is another way of writing numbers. Hex is base 16, meaning that each digit can be one of 16 possibilities, 0 through 9 and A through F. Hexadecimal numbers are normally written with a "0x" in front of them to inform the reader that it is in fact a hexadecimal number.

    • Memory

      Memory is hardware that can store information. Memory can usually store much less information than a disk drive but is much faster to access. When programmers store data in variables or dynamically allocated space, this data resides in memory.

    • Pointers

      Pointers are variables that store addresses, memory locations.

    • Pointer Arithmetic

      The process of adding or subtracting an integer to or from a pointer to obtain the address of another piece of memory. Pointer arithmetic can also be used to subtract one pointer from another in order to determine how many variables lie between the addresses they store.

    • Segmentation Fault

      When a program tries to access a piece of memory that it doesn't have a right to access, the operating system will do everything it can to prevent trouble trouble arising from this illegal access. Often, it will attempt to shut the program down, resulting in the program crashing. The process of accessing an invalid piece of memory is often referred to as seg faulting, or causing a segmentation fault. Often, the term "seg fault" is used synonymously with "crashing," as in "My program just seg faulted."

    Did you know you can highlight text to take a note? x

    Please wait while we process your payment

    snplus-logo

    Unlock your FREE SparkNotes PLUS trial!

    Unlock your FREE Trial!

    Sign up and get instant access to creating and saving your own notes as you read.
    • Ad-Free experience
    • Easy-to-access study notes
    • Flashcards & Quizzes
    • AP® English test prep
    • Plus much more
    Already have an account? Log in

    Take a Study Break

    • QUIZ: Is This a Taylor Swift Lyric or a Quote by Edgar Allan Poe?

    • The 7 Most Embarrassing Proposals in Literature

    • The 6 Best and Worst TV Show Adaptations of Books

    • QUIZ: Which Greek God Are You?

    Sign up for our latest news and updates!
    By entering your email address you agree to receive emails from SparkNotes and verify that you are over the age of 13. You can view our Privacy Policy here. Unsubscribe from our emails at any time.

    SparkNotes—the stress-free way to a better GPA

    • Quick Links
    • No Fear Shakespeare
    • Literature Guides
    • Other Subjects
    • Blog
    • Teacher’s Handbook
    • Premium Study Tools
    • SparkNotes PLUS
    • Sign Up
    • Log In
    • PLUS Help
    • More
    • Help
    • How to Cite SparkNotes
    • How to Write Literary Analysis
    • About
    • Contact Us

    Copyright © SparkNotes LLC

    • Terms of Use
    • |
    • Privacy
    • |
    • Cookie Policy
    • |
    • Do Not Sell My Personal Information