What are static variables, and where are they stored?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Static variables retain their value across multiple function calls. They are stored in the data segment of memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Static variables retain their value across multiple function calls. They are stored in the data segment of memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can a program have multiple main() functions?
What is getch () for?
Explain what happens if you free a pointer twice?
f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
write a c prog for removing duplicate character from an array and sorting remaining elements using a single array
develop algorithms to add polynomials (i) in one variable
how logic is used
write a program for fibonaci series by using while loop in c?
discuss the steps needed to get a program from source code to executable in a system?
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.