SpiceQA
Questions
Tags
Users
Badges
What happens to a declared, uninitialized variable in C? Does it have a value?
user_100208
0
Created Oct 20, 2009
Edited Oct 20, 2009
Viewed 162551
Follow
If in C I write:
int num;
Before I assign anything to
num
, is the value of
num
indeterminate?
declaration
initialization
c
160
0
Add comment
+
Share
9 Answers
Related