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
Y_Kistochka [10]
3 years ago
15

Analyze and write a comparison of C's malloc and free functions with C++'s new and delete operators. Use safety as the primary c

onsideration in the comparison
Computers and Technology
1 answer:
Alisiya [41]3 years ago
5 0

Answer:

The C's malloc and free functions and the C++'s new and delete operators execute similar operations but in different ways and return results.

Explanation:

- The new and delete operators return a fully typed pointer while the malloc and free functions return a void pointer.

-The new and delete operators do not return a null value on failure but the malloc/free functions do.

- The new/delete operator memory is allocated from free store while the malloc/free functions allocate from heap.

- The new/delete operators can add a new memory allocator to help with low memory but the malloc/free functions can't.

- The compiler calculates the size of the new/delete operator array while the malloc/free functions manually calculate array size as specified.

You might be interested in
Every type of internet service requires a connection and monthly payment to a(n): isp voip lms mmorpg
Rainbow [258]
Every type of Internet service requires a connection and monthly payment to an internet server provider. An Internet service provider or as called as ISP is a company that offers customers with internet access. The data may be conveyed using several technologies as well as dial-up, DSL, cable modem, wireless or enthusiastic high-speed interrelates.
6 0
3 years ago
While conducting a vulnerability assessment, you're given a set of documents representing the network's intended security config
Sophie [7]

Answer:

The baseline review

Explanation:

Solution:

The baseline review: this can be defined as the gap analysis or the beginning environmental review (IER). it is an assess study to get information about an organisation's present activities and associated environmental impacts,  impacts and legal requirements.

This review issues an overview of the quality and weaknesses of an organisation’s environmental execution and opportunities for improvement.

6 0
3 years ago
Illl give brainliest plzzzzzzzzzz
salantis [7]

The one paste symbol name is : paste settings

it consist of 'paste special' and 'set default paste if im not wrong'

3 0
3 years ago
Which of the following is computer memory that works while the computer is turned on?
Crazy boy [7]

Answer:

Ron is the answer

Explanation:

In that sense it is similar to secondary memory, which is used for long term storage. When a computer is turned on, the CPU can begin reading information stored in ROM without the need for drivers or other complex software to help it communicate.

5 0
3 years ago
What is the climax of Ralph breaks the internet?
Murljashka [212]

Answer:

As with the real internet, side quests often end up becoming main quests, and Vanellope falls in love with the gritty nature of internet gaming (through Gal Gadot's speed-racer Shank). Ralph Breaks The Internet also ends up going into the dark web and uses that to form the base of the climax of the film.

Explanation:

hope that help thanx

6 0
3 years ago
Other questions:
  • A(n) ______ is a laptop computer that can convert into a tablet-like device.
    13·1 answer
  • Match each of the following terms to its function:_________
    13·1 answer
  • Creating objects of the currency class requires a name (string ), a currency symbol (string ) and the number of decimal places (
    9·1 answer
  • Please help me!! 10 Points are waiting!!
    8·1 answer
  • A(n) Answer display color uses the least electricity when compared to any other color.
    15·1 answer
  • JAVA
    14·1 answer
  • Select the correct navigational path to sort data using multiple levels.
    6·2 answers
  • What is one way that Accenture helps clients ensure fairness when applying AI solutions?
    13·1 answer
  • Convert Fahrenheit to Celsius using this formula: F = (9/5)*C+32
    5·1 answer
  • write a racket recursive function revert which takes a list 'l' as parameter and returns the reverse of the list. do not use bui
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!