what is difference between static and non-static variables
Answer Posted / udit rawat
static variable take memory first at linking and loading time
while non static variable take memory at compile time
| Is This Answer Correct ? | 35 Yes | 11 No |
Post New Answer View All Answers
What is a volatile variable in c++?
Do you need a main function in c++?
Name the debugging methods that are used to solve problems?
Declare a class vehicle and make it an abstract data type.
What is the difference between a type-specific template friend class and a general template friend class?
What is null c++?
Why is c++ difficult?
Will a catch statement catch a derived exception if it is looking for the base class?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Why do we use iterators?
Define a nested class.
What is the use of register keyword with the variables?
What are static and dynamic type checking?
Difference between class and structure.
What is the use of object in c++?