1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
12345 [234]
2 years ago
15

What type casting mechanism should be used if you want to safely change (cast) a pointer type for pointing to a different object

in an inheritance hierarchy?
Computers and Technology
1 answer:
Reil [10]2 years ago
8 0

A<u> dynamic caste</u> casting mechanism should be employed if you want to safely change (cast) a pointer type for meaning to a different object in an inheritance hierarchy.

<h3>What is dynamic type casting?</h3>

The dynamic type cast transforms a pointer (or reference) to one class T1 into a pointer (reference) to another class T2 . T1 and T2 must be part of the same order, the classes must be accessible (via public derivation), and the modification must not be ambiguous.

<h3>What is casting mechanism?</h3>

Casting methods involve the use of molten material, usually metal. This molten material is then poured into a mold cavity that takes the form of the completed part. The molten material then cools, with heat naturally being extracted via the mould, until it solidifies into the desired shape.

To learn more about dynamic caste, refer

brainly.com/question/12634265

#SPJ4

You might be interested in
What do mobile platforms utilize to stream voice, IP telephony, mobile internet access, video calling, gaming services, cloud co
Anuta_ua [19.1K]

Answer:

4G/5G.

Explanation:

The broadband cellular network technology that mobile platforms utilize to stream voice, IP telephony, mobile internet access, video calling, gaming services, cloud computing, high-definition mobile TV, and mobile 3-D TV is 4G/5G.

4G technology refers to the fourth generation broadband cellular network technology that is typically used for cellular communications on mobile phones and it is considered to have an internet speed that is ten times faster than what is obtainable on the third generation (3G) broadband technology.

Similarly, 5G is the fifth generation broadband cellular network technology that succeeded 4G and it offers higher quality in terms of performance, reliability, availability and efficiency.

As a result of the speed and high quality specifications of the 4G/5G broadband cellular network technology, they are widely used for various communications systems.

5 0
3 years ago
Given the following declaration, what is the value of b[ 1 ][ 0 ]? int b[ 2 ][ 2 ] = { { 1 }, { 3 , 4 } };
slavikrds [6]

Based on the declaration "int b[ 2 ][ 2 ] = { { 1 }, { 3 , 4 } };" given, the value of b[ 1 ][ 0 ] is equal to 3.

<h3>What is Python?</h3>

Python can be defined as a high-level programming language that is designed and developed to build websites and software applications, especially through the use of dynamic commands (semantics), declarations, functions, and data structures.

<h3>What is an int?</h3>

Int is an abbreviation for an integer and it can be defined as a whole number that may either be positive, negative, or zero.

Based on the declaration "int b[ 2 ][ 2 ] = { { 1 }, { 3 , 4 } };" given, we can infer and logically deduce that the value of b[ 1 ][ 0 ] is equal to 3.

Read more on Python integers here: brainly.com/question/18761825

#SPJ1

8 0
2 years ago
Determine which Software Type on the right best corresponds to each Definition on the left. Then, click the Definition, and then
Lostsunrise [7]

Answer:

Programs and applications.

Explanation:

3 0
3 years ago
Assuming a 32bit processor If I have a double pointer defined as dPtr and I add 1 to it. How many bytes are added to the address
Anni [7]

Answer:

Theoretically one could design an architecture that would address 16 GB of memory with 32-bits of unique addresses.

Explanation:

4 0
2 years ago
Summarize why understanding the differences between surface culture and deep culture may inform your knowledge, skills, and prof
lorasvet [3.4K]

Answer: By understanding the basic cultural values of the individual such as looks and talk. Also understanding the core values of the individual such as attitude, beliefs and religion. It would improve the behavior in your professional and cultural relationship with individuals in your workplace.

Explanation:

8 0
3 years ago
Other questions:
  • Does time complexity depend on, which base arithmetic you use? like base 10, 2 or whatever else? Does time coplexity depned on t
    13·1 answer
  • Which one of the following items is an example of software?
    12·2 answers
  • A computer is unable to access the network. when you check the led lights near the computer's network port, you discover the lig
    6·1 answer
  • Text can be easily moved from one location to another using _____.
    15·1 answer
  • Scenario
    7·1 answer
  • What in the world is this for and how do you use it
    8·2 answers
  • A recursive method that computes the number of groups of k out of n things has the precondition that ______. n is a positive num
    12·1 answer
  • Hi who plays among us
    9·1 answer
  • Write a program that reads a list of integers, and outputs the two smallest integers in the list, in ascending order. The input
    5·1 answer
  • What is a common use for append queries?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!