2. What does static variable mean?
Answers were Sorted based on User's Feedback
Answer / sai
static variable in c defined as the value of the static
variable is fixed in that program.
That means the chages will not effect the static variable
values.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / avik bagh
A static variable is a variable that you can call and use without using an object of the class it is a part of. You can use a static variable using just the class name.
| Is This Answer Correct ? | 1 Yes | 0 No |
WRITE A C PROGRAM TO FIND SECOND BIGGEST VALUE FROM THE GIVEN VALUES
Is exit(status) truly equivalent to returning the same status from main?
How can I make it pause before closing the program output window?
Why is this loop always executing once?
Difference Between embedded software and soft ware?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What are derived data types in c?
How do you write a program which produces its own source code as its output?
What are volatile variables in c?
What is equivalent to ++i+++j?
Where static variables are stored in c?
main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 Answers NDS, TCS,