Articles
Register
Sign In
Search
krlossantos
@krlossantos
June 2023
1
51
Report
Para o vetor c de NUM_ELEM elementos dinamicamente alocado via int *c = new int[NUM_ELEM];, qual declaração o desaloca corretamente?
delete *c;
delete [] c;
delete c[NUM_ELEM]
delete c;
delete **c
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms and service
You must agree before submitting.
Send
Lista de comentários
rodrigogavelino
Resposta:
delete [] c;
Explicação: 10/10
6 votes
Thanks 10
More Questions From This User
See All
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
krlossantos
November 2023 | 0 Respostas
Responda
×
Report "Para o vetor c de NUM_ELEM elementos dinamicamente alocado via int *c = new int[NUM_ELEM];, qual dec.... Pergunta de ideia de krlossantos"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
Sobre nós
Política de Privacidade
Termos e Condições
direito autoral
Contate-Nos
Helpful Social
Get monthly updates
Submit
Copyright © 2024 ELIBRARY.TIPS - All rights reserved.
Lista de comentários
Resposta:
delete [] c;
Explicação: 10/10