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 do manipulators do?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
Can comments be nested?
Difference between overloaded functions and overridden functions
write a function signature with various number of parameters.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is the purpose of ios::basefield in the following statement?
How do I exit turbo c++?
Do class declarations end with a semicolon?
What is c++ stringstream?
What are friend classes? What are advantages of using friend classes?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What is the full form of india?
Can I learn c++ as my first language?
How a macro differs from a template?