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

Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include #include #include #include int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }

1622


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

22247


What do you mean by command line argument?

650


Explain pointers in c programming?

640


Which is the best website to learn c programming?

587






hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1451


What is the purpose of 'register' keyword in c language?

631


Write a c program to demonstrate character and string constants?

1689


What is the code in while loop that returns the output of given code?

1334


Difference between exit() and _exit() function?

659


Do array subscripts always start with zero?

788


How do you define CONSTANT in C?

657


Explain what is the heap?

627


What does *p++ do? What does it point to?

620


Tell us two differences between new () and malloc ()?

617