2. What does static variable mean?

Answers were Sorted based on User's Feedback



2. What does static variable mean?..

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

2. What does static variable mean?..

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

Post New Answer

More C Interview Questions

a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

0 Answers  


wat s the meaning of (int *)p +4;

2 Answers  


write a program to swap Two numbers without using temp variable.

75 Answers   EMC, Focus, GreyB, HCL, Hitech, HP, Huawei, Infosys, Mannar Company, Microsoft, Miles Software, Odessa Technologies, Satyam, TCS, Wipro,


what is the full form of c language

9 Answers   Satyam, TCS, VNC,


Can an array be an Ivalue?

0 Answers   EXL,






How many header files are in c?

0 Answers  


How reliable are floating-point comparisons?

0 Answers  


What is masking?

0 Answers  


Why the below program throughs error during compilation? #include<stdio.h> #include<conio.h> enum { ZERO, ONE, TWO, }; main() { printf("%d",&TWO); getch(); }

2 Answers  


What are local variables c?

0 Answers  


What is sparse file?

1 Answers  


In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  


Categories