can any one tell that i have a variable which is declared
as static but i want this variable to be visible to the
other files? how?

Answer Posted / hehe

Make the static variable as public

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2725


What is gets() function?

844


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

835


What are register variables in c?

773


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

818


what is use of malloc and calloc?

1622


What is || operator and how does it function in a program?

830


Differentiate between Macro and ordinary definition.

955


How do you define CONSTANT in C?

858


Write a program to find factorial of a number using recursive function.

837


What is hungarian notation? Is it worthwhile?

934


Why clrscr is used after variable declaration?

1300


Why ca not I do something like this?

764


Do you know what are the properties of union in c?

771


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

824