what is a ststic variable and stiticfunction
briefly explain with exmple and in which case we use
Answer Posted / subhashish sen
When a variable is declared with static keyword,its called
as static variable,means it retains its value across
different function calls.Its basically used for counting no
of objects created for a class in C++ and its initialized to
0 by default.
When a function declared as static,its called as static
function.It can only operate on static variables.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Which language is pure oop?
Why do we use oop?
How long to learn object oriented programming?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What does oop mean in snapchat?
What is object in oop?
Why is polymorphism needed?
What is abstraction encapsulation?
How do you define social class?
What are the 3 principles of oop?
What is abstract class in oop?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
can we make game by using c
hi all..i want to know oops concepts clearly can any1 explain??
Why interface is used?