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

Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program

19 Answers   CTS, HCL, TCS,


The differences between Windows XP and Windows Visa

8 Answers   HCL,


how to write a data 10 in address location 0x2000

3 Answers  


What is the difference between strcpy() and memcpy() function in c programming?

0 Answers  


What is the use of ?: Operator?

0 Answers  






find a number whether it is even or odd without using any control structures and relational operators?

22 Answers   Microsoft, Shashank Private Limited,


how c source file in converted to exe file

5 Answers   KPIT,


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

0 Answers  


What is the benefit of using #define to declare a constant?

0 Answers  


a=5 a=a++/++a

14 Answers   Bhel,


consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value

4 Answers   TCS,


what is an inline fuction??

2 Answers  


Categories