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

when to use : in c program?

2 Answers  


Explain data types & how many data types supported by c?

0 Answers  


What does d mean?

0 Answers  


Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.

0 Answers  


Write a progarm to find the length of string using switch case?

0 Answers   TCS,






What is difference between union and structure in c?

0 Answers  


yogesh patil in dell

3 Answers   DELL,


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


wht is the difference between KPO and BPO ?

2 Answers   Accenture, BPO, HCK, HCL, Infosys,


write a function for strtok()??

2 Answers   Verifone,


main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }

2 Answers   CSC,


Explain how can I make sure that my program is the only one accessing a file?

0 Answers  


Categories