what are the static variables
Answer Posted / smriti patnaik
static variables are variables that are initiated only once
in a memory,suppose u have initiated a variable as static
everytime u visit a iteration the value is changed 4m the
initialised value,not like auto variables where the values
remain same everytime u visit a iteration
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How do you determine the length of a string value that was stored in a variable?
How main function is called in c?
Can you assign a different address to an array tag?
What are the advantages of Macro over function?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
Explain that why C is procedural?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What is array in C
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
a value that does not change during program execution a) variabe b) argument c) parameter d) none
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is the equivalent code of the following statement in WHILE LOOP format?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above