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

What is the use of pragma in embedded c?

584


explain what are actual arguments?

626


Why do we use pointer to pointer in c?

587


Why is c so powerful?

671


Can a pointer be volatile in c?

527






Do you know what are bitwise shift operators in c programming?

577


Why doesnt this code work?

609


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1612


How reliable are floating-point comparisons?

621


What are structural members?

564


How can I determine whether a machines byte order is big-endian or little-endian?

611


What is sizeof int in c?

592


Explain how do you declare an array that will hold more than 64kb of data?

886


Is c easier than java?

562


Why doesnt that code work?

597