CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS LANGUAGES C DETAILS
Question :
What is pointer?

Posted by: venkatesh on 11/23/2007

Contact venkatesh  Contact venkatesh
Category C Interview Questions
Rating (0.0) By 0 users
Added on 11/23/2007
Views 1505
Rate it!
Answers:

pointer is a collections of variables.



 Posted by: srinivasarao    

Contact srinivasarao  Contact srinivasarao

It is a variable that holds the address
of another variable.



 Posted by: arun    

Contact arun  Contact arun

Pointer is a variable which stores address of another variable
for example
main()
{
int a,*p;
a=5;
p=&a;
printf("%d",a);
printf("%d",p);
printf("%d",*P);
}
the value of a and *p will be printed as 5.
and suppose if the address of a is 1202 then it is given by p.



 Posted by: Shafiullah    

Contact Shafiullah  Contact Shafiullah

A pointer is nothing,but a variable that contains an address which is a location of another variable in memory is called pointer.



 Posted by: sasi    

Contact sasi  Contact sasi

POINTER STORES THE ADDRESS OF A VARIABLE.



 Posted by: ABHIRAM DUBEY    

Contact ABHIRAM DUBEY  Contact ABHIRAM DUBEY

Pointer is a variable which is used to store the address of another variable.
Advantage:Dynamic memory allocation.



 Posted by: sreelatha    

Contact sreelatha  Contact sreelatha

Pointer is a variable which stores address of an another variable.



 Posted by: ANURAJ .S.R    

Contact ANURAJ .S.R  Contact ANURAJ .S.R

pointer is a variable used to store the address of the another variable.



 Posted by: umadevi    

Contact umadevi  Contact umadevi

pointer is a reference variable that contains the address of a variable .



 Posted by: asrar ahemed    

Contact asrar ahemed  Contact asrar ahemed

A pointer is a variable which stores the address of another variable of same type.

int i=10;//* for example assume that the address of variable i is 101.

int j=&i;/*here var j stores the address valve of variable i.
Now for this we have to represent the variable j as a pointer variable.So we have to declare the variable j as follows.

int *j;

printf("%d i=",i);
printf("%d" j=",j);
printf("%d address of i is",&i);

output:
i=10
j=101
address of i is 101



 Posted by: jagadeesh    

Contact jagadeesh  Contact jagadeesh

Pointer is one which stores the address of a variable.



 Posted by: ravi.c    

Contact ravi.c  Contact ravi.c

Pointer is a variable which stores the address of a another variable or a memory location.



 Posted by: Uma maheswari    

Contact Uma maheswari  Contact Uma maheswari

A pointer is a variable which is used to store the address of another variable.



 Posted by: srilatha    

Contact srilatha  Contact srilatha

A pointer is a variable which points to the address of another variable.



 Posted by: pavan kumar    

Contact pavan kumar  Contact pavan kumar

Pointer is nothing but a variable .Which can store an address of another variable or pointer.
The data type of pointer & the variable should be same.



 Posted by: shubha    

Contact shubha  Contact shubha

A pointer can hold addresses but not values.



 Posted by: B.pradeep kumar    

Contact B.pradeep kumar  Contact B.pradeep kumar

A pointer is a variable which is used to store the address of another variable.



 Posted by: sandosh    

Contact sandosh  Contact sandosh

A pointer is a special kind of variable in C and C++ that holds the address of another variable.



 Posted by: prabhakaran    

Contact prabhakaran  Contact prabhakaran

Pointer is a variable which store the address of the variable.



 Posted by: Ramachandran    

Contact Ramachandran  Contact Ramachandran

Pointer is used to store the address of another variable.



 Posted by: v.Divya    

Contact v.Divya  Contact v.Divya

Pointer is a variable which hold the address of variable,data and structure.



 Posted by: ASHA SAXENA    

Contact ASHA SAXENA  Contact ASHA SAXENA

Pointer is a variable which points to the address of another variable.



 Posted by: udaya prakash    

Contact udaya prakash  Contact udaya prakash

pointer is an extraordinary variable..which holds the adress of a variable.



 Posted by: pradeep    

Contact pradeep  Contact pradeep

The pointer is a variable, contains address of another variable.

Example:
int i=10;
int *ptr=&i;
In above example, ptr is integer pointer, contains address of interger variable.



 Posted by: Jitu    

Contact Jitu  Contact Jitu


If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
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:*
Inform me about updated answers to this question

   
Related Questions
View Answer
Can we use functions within a structure?
View Answer
void main()
{
float a= 0.7;
if (a < 0.7)
printf("c");
else
printf("c++");
}
Output of the above program is c. Why? Whereas the same program with 0.8 instead of 0.7 gives c++ as the output? Why explain?
View Answer
Code for swapping of two numbers without using temporary variable using C.
View Answer
code To draw a three dimensional graph using c graphics
View Answer
How to write a C program for displaying a sentence without output command?
View Answer
What is difference between the test effort and the test procedure?
View Answer
What are the disadvantages of using Pointers.
View Answer
How can I convert a number to a string?
View Answer
How to write a program for pascal triangle?
View Answer
write a program to remove comment lines and blank lines from an error free c program.
View Answer

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:

View ALL C Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/12509/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

1.17