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
Explain data types & how many data types supported by c?
Why is c platform dependent?
Why c is called top down?
Why do we use null pointer?
What is difference between structure and union in c programming?
What are volatile variables in c?
When can you use a pointer with a function?
Why C language is a procedural language?
Explain the array representation of a binary tree in C.
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
what are non standard function in c
What are the different categories of functions in c?
What does return 1 means in c?
Why is structure important for a child?
If errno contains a nonzero number, is there an error?