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 |
write a program to print the all 4digits numbers & whose squares must me even numbers?
write a fuction for accepting and replacing lowercase letter to'Z' with out using inline function.
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What are the applications of c language?
how to implement stack operation using singly linked list
Write a program to use switch statement.
0 Answers Agilent, Integreon, ZS Associates,
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is floating point exception error? And what are different types of errors occur during compile time and run time? why they occur?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
11 Answers HCL, Vector, Vector India, Vector Solutions, Wipro,
What is function and its example?
what type of errors are checked during compilation
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?