in Technology by
What is the default value of local and global variables in C Programming?

1 Answer

0 votes
by
Local variables get garbage value and global variables get a value 0 by default.

Related questions

0 votes
    What is the default value of the local variables?...
asked Nov 17, 2020 in Technology by Editorial Staff
0 votes
    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
0 votes
    What are the differences between local and global temporary tables?...
asked Nov 9, 2020 in Technology by Editorial Staff
+1 vote
    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 vote
    Does a break is required by default case in switch statement in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    How to access global and context variables in Talend?...
asked May 30, 2021 in Technology by JackTerrance
0 votes
    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
0 votes
    What is the difference between global and static global variables?...
asked Jan 23, 2021 in Technology by JackTerrance
0 votes
    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
0 votes
    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
0 votes
    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
0 votes
    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
0 votes
    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
0 votes
    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
0 votes
    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
...