what is difference between static and non-static variables
Answer Posted / sengar
static variable will not be change value all time but non
static value can be changed according requirement .
without giving any value static variable automatically
initialize by zero but in non-static case not the same
case.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What is the main purpose of overloading operators?
What is setbase c++?
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
Is it possible to provide default values while overloading a binary operator?
the maximum length of a character constant can be a) 2 b) 1 c) 8
Can a program run without main function?
Explain what data encapsulation is in c++?
If you don’t declare a return value, what type of return value is assumed?
What do you understand by pure virtual function? Write about its use?
Why do we need pointers?
Will rust take over c++?
What is a wchar_t in c++?
Is c++ built on c?
Where can I run c++ program?
What is the difference between structure and class?