Where are c variables stored in memory?



Where are c variables stored in memory?..

Answer / Chandan Kumar Chakravorty

In C, a variable is a named location used to store data during the execution of a program. Here's an example: int x = 5; This declares a variable 'x' and initializes it with the value 5.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

How to implement call back functions ?

3 Answers   HP,


20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????

2 Answers  


What is null in c?

1 Answers  


What is the auto keyword good for?

1 Answers  


If the static variable is declared as global, will it be same as extern?

1 Answers   Samsung,


write a program for odd numbers?

15 Answers  


What are the 4 data types?

1 Answers  


why ordinary variable store the later value not the initial

1 Answers  


What is strcmp in c?

1 Answers  


What is function pointer c?

1 Answers  


a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'

2 Answers  


Where are the auto variables stored?

1 Answers   TISL,


Categories