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 the difference between struct and typedef struct in c?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
How to implement a packet in C
What is variable and explain rules to declare variable in c?
write a c program for swapping two strings using pointer
#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is structure and union in c?
How main function is called in c?
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
Where register variables are stored in c?
What is void main ()?