difference between ordinary variable and pointer in C?

Answer Posted / syed

an ordinary variable is like a container it can hold any
value and we can change the value of ordinary variable at
time throughout the program.
a pointer is a variable that stores the address of another
variable ..

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between Shallow copy and Deep copy?

1771


Is null valid for pointers to functions?

852


What is identifier in c?

756


What is static and volatile in c?

979


What is the purpose of sprintf?

814


Is c# a good language?

783


Can the sizeof operator be used to tell the size of an array passed to a function?

834


In which header file is the null macro defined?

1105


What is the difference between pure virtual function and virtual function?

860


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2352


Difference between pass by reference and pass by value?

859


What is the use of f in c?

730


What are void pointers in c?

758


What is a MAC Address?

818


What is the purpose of ftell?

816