Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
What is the default value of local and global variables in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
1.8m
points)
What is the default value of local and global variables in C Programming?
interview-question-answer
technology-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 9, 2020
by
JackTerrance
(
1.8m
points)
Local variables get garbage value and global variables get a value 0 by default.
Please
log in
or
register
to add a comment.
Related questions
0
votes
Q: What is the default value of the local variables?
asked
Nov 17, 2020
in
Technology
by
Editorial Staff
(
55.8k
points)
interview-question-answer
technology-questions-answers
0
votes
Q: When one should use local and global functions and variables in corona sdk?
asked
Dec 30, 2021
in
Education
by
JackTerrance
(
1.8m
points)
interview-question-answer
0
votes
Q: What are the differences between local and global temporary tables?
asked
Nov 9, 2020
in
Technology
by
Editorial Staff
(
55.8k
points)
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between global and static global variables?
asked
Jan 23, 2021
in
Technology
by
JackTerrance
(
1.8m
points)
interview-question-answer
technology-questions-answers
+1
vote
Q: Can variables belonging to different scope have same name in C Programming? If so show an example ?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
1.8m
points)
interview-question-answer
technology-questions-answers
...