what is pointer ?
Answers were Sorted based on User's Feedback
Answer / amit kamble
POINTER HOLDS THE ADRESS OF THE OTHER VARIABLE;
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / prakash dasari
pointer is also like an ordinary variable which can hold
some data. But the difference is it holds the memory
address where that particular variable is stored.
so pointer is a memory varible which holds the valid
address of similar type. that is integer pointer have to
use to hold the address of the integer variable to avoid
the unexpected results. so to store the float varible data
use float pointer only for datasafe.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ramakant kisan karnekar
Pointer is a value variable it stores the address of
another variable
ex
int a=10;
int *p;
p=&x;
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / s.s.venkatesh
Pointer is also a variable,that is used to refer the memory
location of the particular variable(that is pointer
variable).
In pointer,we can get address of the particular variable by
using ambuson(&) symbol.
we can get the value by using asterisk(*) symbol.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravishankar b.m
pointer is a variable which holds the address of another
variable.
only integer pointer can be used for pointer.
eg: int *ptr
Is This Answer Correct ? | 1 Yes | 0 No |
pointer is a secondary constant and a derived data type which can hold a address or point to a particular memory location (LOGICALLY) of the same data type in which pointer variable has been declared......
syntax :
(data type) *variable_name;
integer pointer can hold only integer variable address
character pointer can hold only character variable address
floating pointer can hold only float variable address
thank u
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / deepa.g
Pointer is stores the address of the another variable.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jai
It is variable that holds the address of another variable..
As ordinary varible pointer also has datatype. So, It
stores only address of the variable of the same type.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ankith.v
pointer Is a Variable.
A Variable which Stores The Address Of Another Variable is
called as Pointer
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rina
pointer contains memory adresses as teir values since tese
memory addresses are the locations in the computer memory
are stored.
Is This Answer Correct ? | 0 Yes | 0 No |
What is data structure in c and its types?
How to get string length of given string in c?
What are the advantages of c preprocessor?
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
How can I call a function, given its name as a string?
write a program to display numbers from 1 to 10 and 10 to 1?
An entire structure variable can be assigned to another structure variable if __________
3 Answers Sasken, TCS, Tech Mahindra, Wipro,
declare afunction pointer to int printf(char *)?
application of static variables in real time
What is a Genralised LInked List?? Please give a detailed explation of it..
pascal triangle program
how can make variable not in registers