A function can make the value of a variable available to another by

a) declaring the variable as global variable

b) Passing the variable as a parameter to the second function

c) Either of the two methods in (A) and (B)

d) binary stream


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }

3 Answers   Qualcomm,


What is data types?

0 Answers  


Explain how can I write functions that take a variable number of arguments?

0 Answers  


int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

6 Answers   HCL, Octal, SW,


main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??

19 Answers   EBS, Ramco, Sangwin, TCS,


Identify the operators that is not used with pointer a. && b. # c. * d. >>

2 Answers  


hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a

1 Answers  


What is a nested formula?

0 Answers  


Are pointers really faster than arrays?

0 Answers  


Where is volatile variable stored?

0 Answers  


What is the general form of a C program?

0 Answers  


Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc

4 Answers  


Categories