What is meant by global static? why we have to use static
variable instead of Global variable
Answer Posted / vaibhav
global static means the static value declared as a
global.using this we can share same copy of that variable.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Do string constants represent numerical values?
what is recursion in C
Combinations of fibanocci prime series
Can true be a variable name in c?
Explain how can you avoid including a header more than once?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What are the Advantages of using macro
Can we use visual studio for c?
What is wild pointer in c?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is the difference between malloc() and calloc() function in c language?
Write a program to print factorial of given number using recursion?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Explain how do you determine whether to use a stream function or a low-level function?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.