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

Is c compiled or interpreted?

864


What is graph in c?

789


Can we replace the struct function in tree syntax with a union?

990


What is the use of a static variable in c?

760


Can we access array using pointer in c language?

824






Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

967


Is it cc or c in a letter?

746


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1934


Write a program for Overriding.

888


write a program to print data of 5 five students with structures?

1813


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

806


Why is a semicolon (;) put at the end of every program statement?

811


What is union and structure?

756


FILE PROGRAMMING

1975


Explain the use of function toupper() with and example code?

833