Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 


 Interview Questions  
 Our Services  
NEW INTERVIEW QUESTIONS.COM LANGUAGES INTERVIEW QUESTIONS C INTERVIEW QUESTIONS DETAILS


NewInterviewQuestions.com - Home for World's Largest Interview Questions Website.

A D V E R T I S E M E N T




Add to My Questions Add to My Questions | Forward Forward | Print Print


Question Question Difference between arrays and pointers?
Answer Answer ?Pointers are used to manipulate data using the address. Pointers use * operator to access the data pointed to by them

?Arrays use subscripted variables to access and manipulate data.Array variables can be equivalently written using pointer expression.


the main difference between the poointer and array 1.useing the pointer u can allocate the memory dynamically,as in array allocating the memory for a varible is static.

Answered By: garika siva sankar    Date: 7/13/2007

Array name only a name of memory location,there is no address for array name,it is only the name of arry and holding the base address of array while pointer has its own address and also contain the address as a value

Answered By: Amol Kumar Sharma    Date: 8/28/2007

Pointer is a variable which holds the address of a variable in memory. Array stores the homogenous data.the size of the array has been fixed during the declaration like int ak[5];

Answered By: AMIT KUMAR SINHA    Date: 8/29/2007

Pointers are dynamic memory allocation. there is no need to specify the size of the array, but array is static memory and the size of atleast the column has to be specified .

Answered By: vijayalakshmi s    Date: 8/21/2008

© NewInterviewQuestions.com


If you have the better answer, than send it to us. We will display your answer after the approval.
Answer Answer:*
Name Name:*
Email Address Email Address:*
     Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
 


Rate the above answer. Help us to know about the answer.
Category Category C Interview Questions
Rating Rating (3.6) By 53 users
Added Added 10/22/2004
Views Views 177034
Rate it Rate it!
Free Offers Free Offers: 300 Free Magazines for you. No credit card required. No Shipping Charges. Absolutely Free for 1 Year.

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:





 Sponsors  

Latest 10 Answers
When there is any situation that u should attach a new patch to ur kernel , then download the patch and install it,to make changes to kernel , go to ok prompt and type boot -r, it will update or reconfigure the kernel
Honesty, helpful and reliable
procedure is a set of sql statement ,are combined to gether to perform a specific task or to solve a specifi problem.it does not return value.
leadership is power to influence a group so that the members willingly exert efforts as aspired by the leader.
I have the unique combination of technical skill and the ability to build strong customer relationship. I have the ability to stay focussed in stressfull situation. I would be great addition to your team.
first execute the bc search spec to fetch the data then executes the applet search spec if applet search spec is not match with bc it skips
TCP-Transmission Control Protocol. TCP is Reliable. TCP is Connection oriented. UDP-User Datagram Protoco UDP is Unreliable. UDP is Connectionless.
By default in structure all data member and member function are public,i,e if you not mentation any access specifier. But in case of class By default all data member and member function are private.
Structure is a user defined data type. By default all structure variables are public type and we cann't use access specifier in structure type variable, where as in class we can define objects(variables) under required access specifier type.
variable cost is the cost which is not fixed in nature

Newinterviewquestions.com is a part of Vyom Network. Top



Copyright © 2010, newinterviewquestions.com. All rights reserved Privacy Policy | Terms and Conditions

Page URL: http://www.newinterviewquestions.com/interview/960/Default.asp?cachecommand=bypass


Download Yahoo Messenger | Web Hosting | Dedicated Server | Free SMS