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

Explain what will the preprocessor do for a program?

610


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

1927


Can you subtract pointers from each other? Why would you?

570


which is conditional construct a) if statement b) switch statement c) while/for d) goto

747


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

3139






What is a spanning Tree?

973


What do you mean by recursion in c?

640


What is double pointer in c?

599


in iso what are the common technological language?

1643


What is scope rule of function in c?

560


Explain the use of bit fieild.

721


What is return in c programming?

523


What is a rvalue?

755


Are pointers integer?

560


What is calloc malloc realloc in c?

602