what is pointer?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is 2c dna?

851


What is string concatenation in c?

812


What does #pragma once mean?

955


Which is better pointer or array?

827


Why can't I perform arithmetic on a void* pointer?

858


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

908


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

861


What is pass by value in c?

824


How do we declare variables in c?

827


What is a substring in c?

827


Why are all header files not declared in every c program?

853


What is scope of variable in c?

807


What is the basic structure of c?

812


What is the size of structure pointer in c?

845


What is structure in c explain with example?

918