2. What does static variable mean?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better malloc or calloc?

661


Why do we use header files in c?

592


Can a pointer be null?

572


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1796


What is page thrashing?

659






What is 1d array in c?

613


What language is c written?

585


What are the types of operators in c?

624


What are examples of structures?

607


Tell me what is null pointer in c?

621


What does & mean in scanf?

610


What the advantages of using Unions?

681


Explain what will the preprocessor do for a program?

610


Why C language is a procedural language?

627


Differentiate between a for loop and a while loop? What are it uses?

685