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 |
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
hi any body pls give me company name interview conduct "c" language only
long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
18 Answers Acropolis, HCL, Intel, TCS,
write a function to swap an array a[5] elements like a[0] as a[5],a[1] as a[4],....a[5] as a[0].without using more than one loop and use one array not to use temp array?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Why are algorithms important in c program?
What is a void pointer? When is a void pointer used?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is external and internal variables What is dynamic memory allocation what is storage classes in C
What are the different types of errors?
Explain the meaning of keyword 'extern' in a function declaration.
Consider the following C program. #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain