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

How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

875


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3402


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

994


What are reserved words with a programming language?

837


How do I swap bytes?

841


provide an example of the Group by clause, when would you use this clause

1962


What is the use of getch ()?

846


What is the default value of local and global variables in c?

770


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

813


What is double pointer in c?

771


Explain low-order bytes.

822


What are the functions to open and close the file in c language?

811


Is c easier than java?

798


What is the difference between text files and binary files?

958


What are the keywords in c?

867