Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3752192
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:12:23+00:00 2026-05-19T09:12:23+00:00

In the C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart in

  • 0

In the C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart in Chapter (7), it mentions the following:

char str[10] = "Hello!";

This declaration creates the array shown, and associates the starting address
with str
. (Remember that the name of an array always translates into its starting
address.)

What is meant by this? I mean, the association of the starting address with str?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T09:12:24+00:00Added an answer on May 19, 2026 at 9:12 am

    It means that ‘str’ can be treated as a starting address where the “Hello” string is stored.

    Consequently str + 1 is the address where the second character of the string is stored.

      |   str   | str+1  | str+2  | str+3 | str+4 | str+5  |
      |  str[0] | str[1] | str[2] | str[3]| str[4]| str[5] |
      |    H    |  e     |   l    |   l   |   o   |  \0    |
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the C++ Without Fear: A Beginner's Guide That Makes You Feel Smart book,
Without using a WebBrowser control, how could I execute a JavaScript function, that is
Without routing, HttpContext.Current.Session is there so I know that the StateServer is working. When
First let me just state that coding without unit testing is just plain crazy.
Out of fear that someone will downvote this question because piracy is not preventable,
In the book I'm reading at the moment ( C++ Without Fear ) it
I'm creating my first class, mainly guided by Overland's C++ Without Fear. I've made
I've taken a bit of a memcache script that i've used previously without issue,
Can we have any size of Java object without any fear of exception? I
Without subclassing dict, what would a class need to be considered a mapping so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.