GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Covansys  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 4 of 43    Print  
Float_ptr = new float[100]
In order to deallocate this memory use

A. delete float_ptr
B. delete [] float_ptr
C. delete float_ptr [100]
D. delete float_ptr []

B




  
Total Answers and Comments: 1 Last Update: January 05, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 05, 2007 08:30:05   #1  
pagla_ghoda        

RE:
You must specify [] when deleting an array but not for a single value. It isn't possible to delete only part of an array.
 
Is this answer useful? Yes | No

 Related Questions

Float_ptr = new float[100] In order to deallocate this memory use A. delete float_ptr B. delete [] float_ptr C. delete float_ptr [100] D. delete float_ptr []
B  

Move a file from windows temp to windows system folder and delete datas stored previously A. COPY ERASE C:WINDOWSTEMP.EXE C:WINDOWSSYSTEM.EXE B. COPY DEL C:WINDOWSTEMP.EXE C:WINDOWSSYSTEM.EXE C. MOVE C:WINDOWSTEMP.EXE C:WINDOWSSYSTEM.EXE D. MOVE C:SYSTEM
C  

Difference between virtual memory and swapping A. virtual memory used to store a part of process in memory whereas swapping can either put in entire process memory or out B. swapping used to store part of a process C. Both are same D. Both are different concepts used to resolve different problems

Order date > 3 yrs old, delete orders A. DELETE FROM ORDERS WHERE ORDERDATE


 Sponsored Links

 
Related Articles

C++ Memory Management operators

C Memory Management operators Need for Memory Management operators The concept of arrays has a block of memory reserved The disadvantage with the concept of arrays is that the programmer must know while programming the size of memory to be allocated in addition to the array size remaining constant m
 

Data Warehouses Non Technical Issues

Data Warehouses Non Technical Issues When companies get ready to implement a data warehouse few of them pay attention to the political issues that may surround it It must be emphasized that politics can reduce the chances for success with a data warehouse project and I want to warn companies against
 

Technical Aspects of CRM

Technical Aspects of CRM While it must be emphasized that CRM is not a technology there are a number of technical issues that need to be considered when a company decides to implement a CRM system The first technical issue that needs to be analyzed is scalability In a nutshell the CRM system must be
 

How Consistent Practice Can Help You Improve Your Memory

How Consistent Practice Can Help You Improve Your Memory Researchers have known for a long time that learning a skill in set intervals is the best way to master it Instead of teaching someone a large number of things at once they learn better when the information is split apart in sections mosgoogle
 

Intelligence and Memory

Intelligence and Memory If you wish to improve your memory you will also need to understand the nature of intelligence Intelligence is currently broken down into two categories and these are crystallized intelligence and fluid intelligence mosgoogle Crystallized intelligence deals with the brain pro
 

The Foundation of Memory

The Foundation of Memory Many people who are interested in improving their memories will often want to understand its foundation You may have also wandered if the emotion of a person will have an effect on their memory mosgoogle This a complex concept that does not have simple answers because emotio
 

Understanding Your Memory

Understanding Your Memory While there are a number of different techniques you can use to improve your memory it is important to know which techniques are best for a given situation While one technique may be good for a specific situation it may be worthless for another mosgoogle Knowing which techn
 

Tips You Can Use To Improve Your Memory

Tips You Can Use To Improve Your Memory When it comes to our general memory we tend to receive the data before we analyze and store it into our brains Much of this information is stored in a form that is called short term memory To improve your memory you will want to take the desirable parts of thi
 

Strategies You Can Use For Improving Your Memory

Strategies You Can Use For Improving Your Memory In our busy world of today we often find ourselves having to remember a lot of information If you are like most people you probably have appointments to make deadlines to meet and numbers you need to memorize You may find that you forget some of these
 

What You Can Do To Deal With Java's Memory Retention Problems

What You Can Do To Deal With Java s Memory Retention Problems When you work with the Java programming language a feature that you will want to be familiar with is called finalization mosgoogle Finalization will allow you to conduct a cleanup on objects that the garbage collector is not capable of re
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape