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 |
What does double pointer mean in c?
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 Answers AMCAT, HCL, Ramco, Zycus Infotech,
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
Do you know null pointer?
write a c program to add two integer numbers without using arithmetic operator +
Write a program that receives as input a number omaadel-n-print, four digits.
What is header file definition?
write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?
Explain what is the benefit of using #define to declare a constant?
4. main() { int c=- -2; printf("c=%d",c); }
Array is an lvalue or not?