what are the static variables

Answer Posted / nitin gupta

a static variable is shared by all the the instances of a
class.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of pointers?

587


How is a structure member accessed?

592


Write a program to check whether a number is prime or not using c?

580


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1934


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1731






What is the -> in c?

591


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2381


Describe newline escape sequence with a sample program?

662


Why are algorithms important in c program?

625


What is the difference between c and python?

590


Are pointers really faster than arrays?

573


Write a program to use switch statement.

664


What is a header file?

642


Is stack a keyword in c?

640


What is calloc() function?

629