difference between ordinary variable and pointer in C?

Answers were Sorted based on User's Feedback



difference between ordinary variable and pointer in C?..

Answer / guest

ordinary variable holds value and pointer variable holds
the address

Is This Answer Correct ?    21 Yes 1 No

difference between ordinary variable and pointer in C?..

Answer / 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

More C Interview Questions

Why c is procedure oriented?

0 Answers  


wat are the two methods for swapping two numbers without using temp variable??

2 Answers  


Explain what is the benefit of using const for declaring constants?

0 Answers  


What is the function of this pointer?

0 Answers   Agilent, ZS Associates,


In c language can we compile a program without main() function?

0 Answers  






What 'lex' does?

0 Answers   Tech Mahindra,


How do I use strcmp?

0 Answers  


Write a program to accept a character & display its corrosponding ASCII value & vice versa?

9 Answers  


What is the significance of an algorithm to C programming?

0 Answers  


in b=6.6/a+(2*a+(3*c)/a*d)/(2/n); which operation will be performed first a) 6.6/a b) 2*a c) 3*c d) 2/n

1 Answers  


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

0 Answers   Infosys,


Why n++ execute faster than n+1 ?

2 Answers  


Categories