What is the difference between static global and global ?
Answers were Sorted based on User's Feedback
Answer / leossk
Scope of the static variable is limited to that file, while
global is for all the files in that project space.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shakti singh khinchi
Scope of static variable is limited to different function
calls for a file, whereas global variable exists in multiple
files.
Is This Answer Correct ? | 2 Yes | 0 No |
write a function signature with various number of parameters.
What is exception handling? Does c++ support exception handling?
Will the inline function be compiled as the inline function always? Justify.
Floating point representation and output seems to be compiler dependent?
Explain how overloading takes place in c++?
What do you mean by translation unit in c++?
What do you know about friend class and friend function?
Define pre-condition and post-condition to a member function in c++?
Why is the function main() special?
Differentiate between the message and method?
What are the differences between new and malloc?
What is the v-ptr?