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 ? | 6 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 meant by inheritance?
How can I handle floating-point exceptions gracefully?
Write a programe print the sum of series 0,1,2,.....10
#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }
Write a program to print ASCII code for a given digit.
what is ans for this scanf(%%d",c);
what is the size of an integer variable?
which is faster execution: loops or recursion?
What is queue in c?
Write a program to check whether a number is prime or not using c?
How to calculate sum
Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.