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 461337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:57:53+00:00 2026-05-12T22:57:53+00:00

I had a quiz at school and there was this question that I wasn’t

  • 0

I had a quiz at school and there was this question that I wasn’t sure if I answered correctly. I could not find the answer in the book so I just wanted to ask you.

Point* array[10];

How many instances of class Point are created when the above code is called?

I answered none because it only creates space for 10 instances, but doesn’t create any. Then my friend said it was just one because when the compiler sees Point* it just creates one instance as a base.

  • 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-12T22:57:54+00:00Added an answer on May 12, 2026 at 10:57 pm

    It creates no Points.

    What it does is creates an array of ten pointers that can point to Point objects (it doesn’t create space for ten instances). The pointers in the array are uninitialized, though, and no Point objects are actually created.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had this question (beginner C++) in a C++ quiz : My answer was
I had a question in MySQL, did it correctly. But the book code differs
First: This is not a repeat of this question . Same script, but different
Had another thread regarding this but it wasn't resolved probably because I wasn't very
Had this weird bug in my code and I was not able to solve
Had this interesting question being asked today and the arguments varied from Proxy to
I have a quiz that have four options to choose. Every question have different
Had a question that I've often wondered about. Is it better to have multiple
Had a question about a implementation of bind function that I found on Mozilla's
Had this question in an interview.

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.