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


Please Help Members By Posting Answers For Below Questions

Is null equal to 0 in sql?

655


What is n in c?

575


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1866


what is stack , heap ,code segment,and data segment

2223


What is the time and space complexities of merge sort and when is it preferred over quick sort?

676






What are c identifiers?

629


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

615


What is chain pointer in c?

603


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

645


Explain what does the format %10.2 mean when included in a printf statement?

782


What is stack in c?

615


Why doesnt the call scanf work?

675


Is it fine to write void main () or main () in c?

547


What are the types of operators in c?

612


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2721