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?
Home
Technology
What is the default value of local and global...
asked
Nov 9, 2020
in
Technology
by
JackTerrance
What is the default value of local and global variables in C Programming?
interview-question-answer
technology-questions-answers
1
Answer
0
votes
answered
Nov 9, 2020
by
JackTerrance
Local variables get garbage value and global variables get a value 0 by default.
Related questions
0
votes
Q: What is the default value of the local variables?
What is the default value of the local variables?...
asked
Nov 17, 2020
in
Technology
by
Editorial Staff
interview-question-answer
technology-questions-answers
0
votes
Q: When one should use local and global functions and variables in corona sdk?
If there are more than one file(main.lua) which contains code and I declare some variables and functions ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Dec 31, 2021
in
Education
by
JackTerrance
interview-question-answer
0
votes
Q: What are the differences between local and global temporary tables?
What are the differences between local and global temporary tables?...
asked
Nov 9, 2020
in
Technology
by
Editorial Staff
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 ?
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
interview-question-answer
technology-questions-answers
+1
vote
Q: Does a break is required by default case in switch statement in C Programming?
Does a break is required by default case in switch statement in C Programming?...
asked
Nov 9, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: How to access global and context variables in Talend?
How to access global and context variables in Talend?...
asked
May 30, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Which component do you need to use in order to read data line by line from an input flow and store the data entries into iterative global variables?
Which component do you need to use in order to read data line by line from an input flow ... entries into iterative global variables? tIterateToFlow tFileList tFlowToIterate tLoop...
asked
Mar 24, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between global and static global variables?
What is the difference between global and static global variables?...
asked
Jan 23, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Why does strcpy trigger a segmentation fault with global variables?
So I've got some C code: #include #include /* putting one of the "char*"s here causes a segfault ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Mar 19, 2022
in
Education
by
JackTerrance
cscopepointerssegmentation-fault
0
votes
Q: BASH: Global variables aren't updateable in a function only when that function is piped (simple example)
This smells buggy, but probably, someone can explain it: The following script doesn't work, the output is ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Feb 27, 2022
in
Education
by
JackTerrance
linuxbashvariables
0
votes
Q: Using global variables in a function
In a function, How to create and use a global variable? How can I use it in other functions? Is it compulsory ... it in a function? Select the correct answer from above options...
asked
Jan 24, 2022
in
Education
by
JackTerrance
python
python-faq
global-variables
0
votes
Q: Global variables in R
I want to set some global variables inside a function, how can I do that? Select the correct answer from above options...
asked
Jan 23, 2022
in
Education
by
JackTerrance
r
r-faq
global-variables
0
votes
Q: Global variables in Java
I am fairly new to Java, I wanted to know how can i define a global variable ? Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
java
0
votes
Q: Which of the following global variables is used to get parameters?
Which of the following global variables is used to get parameters? (a) HTTP_GET_VAR[] (b) HTTP_GET_VARS() ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Oct 23, 2021
in
Education
by
JackTerrance
essential-javascript-interview-questions
javascript-interview-questions
javascript-interview-questions-and-answers
javascript-questions-for-practice
java-script-mcq-quiz
javascript-quiz-
javascript-multiple-choice-questions
javascript-mcq-with-answers
0
votes
Q: Which global variables can be used to determine if a transaction is still open?
Which global variables can be used to determine if a transaction is still open? (a) @@NESTLEVEL (b) ... Results topic in portion Query Processing Techniques of Database Management...
asked
Oct 10, 2021
in
Education
by
JackTerrance
...