what is pointer?
Answers were Sorted based on User's Feedback
Answer / anantha sharma
Pointer is a variable that holds address of a memory location
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / sumalatha
Pointer is nothing but it addresses the value.
| Is This Answer Correct ? | 25 Yes | 6 No |
Answer / umakant gupta
Pointer is a kind of Array which store the Address of
Variable
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / shekar
a pointer is a variable that stores the address of another
variable. we can a pointer to any variable ..
| Is This Answer Correct ? | 10 Yes | 4 No |
Answer / vijay r15
pointer denotes the address of a variable
*denotes its a ptr var
Ex
Int a; //ordin var
Int *p; //ptr var going to hold sum address
P=&a; //p holds the address of a
With thanks and regards,
Vijay r15
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / beesani
A pointer is a data type whose value refers directly to
another value stored elsewhere in the computer memory using
its address.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / shashikanth
pointer is a variable which can holds the addrese of another object.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / angel
Pointer is a variable.It may contains the memory address of
the another variable and is declared as the pointer.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / ankush tyagi
Pointers are a special type of variables which are used to
store the address of the another variable....
Four type of pointers are defined...
1.Near pointer
2.Fare pointer
3.Huge pointer
4.File pointer
Syntex //-
data type var_name;
data type *pointer_name;
pointer_name=&var_name;
in both the case data type should be same other wise we can
use the type casting;;;....
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajendiran
pointer is address of the variable and identified the
variable location. if the pointer used to avoid the memory
wastage....
| Is This Answer Correct ? | 2 Yes | 2 No |
In C language what is a 'dangling pointer'?
Explain what are global variables and explain how do you declare them?
what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);}
What is advantage of pointer in c?
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 Answers MindFire, TCS, Tech Mahindra,
can anyone please tell about the nested interrupts?
What is the meaning of && in c?
1. Write a program to reverse every second word in a given sentence.
Is it better to use malloc() or calloc()?
how can we Declare a variable in c without defining it.
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????