what is the difference between normal variables and pointer
variables..............

Answer Posted / nibedita

Pointers will store the variable address and normal variable
will store the variable value. But if you will declare int *p;
int i=10; and you want to accsess the memory of i you have
to write p=&i; But i can access directly the memory adress
of variable through printf("%d",&i); Then wht is the
difference between pointer and normal variable?

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #define?

778


Explain the binary height balanced tree?

896


What is the size of enum in bytes?

781


What is a buffer in c?

750


What is array in C

908


Differentiate abs() function from fabs() function.

777


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2639


What is the difference between struct and typedef struct in c?

872


What are the valid places to have keyword “break”?

814


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1942


What are different types of variables in c?

755


Explain what is #line used for?

789


What is || operator and how does it function in a program?

835


Is file a keyword in c?

676


What is the return type of sizeof?

804