what are the static variables

Answer Posted / nil

Static vairiable is one which can be accessed without
creation of an object of Class i.e. by direct calling calss.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the scope of static variables?

605


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

734


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

1582


What are the disadvantages of external storage class?

592


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

1787






What are enumerated types?

656


what are bit fields? What is the use of bit fields in a structure declaration?

1500


Write a program to find the biggest number of three numbers in c?

589


Why do we need functions in c?

562


Why is c used in embedded systems?

615


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

580


What are c header files?

582


Lists the benefits of c programming language?

599


What is #include stdio h?

688


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

649