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

write a c program in such a way that if we enter the today date the output should be next day's date.

1899


What do you mean by c?

779


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1567


What are 'near' and 'far' pointers?

801


What is bash c?

749


What is a header file?

820


How pointer is different from array?

805


What does volatile do?

740


What is zero based addressing?

901


Is multithreading possible in c?

743


What is the equivalent code of the following statement in WHILE LOOP format?

1074


Linked lists -- can you tell me how to check whether a linked list is circular?

847


Why do we use namespace feature?

800


Why do we need arrays in c?

803


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

819