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

Write a code of a general series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,


If errno contains a nonzero number, is there an error?

0 Answers  


write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.

2 Answers  


What are variables and it what way is it different from constants?

0 Answers  


write a program to print largest number of each row of a 2D array

0 Answers  






What is LINKED LIST? How can you access the last element in a linked list?

0 Answers   ADP,


Give the rules for variable declaration?

0 Answers  


Is it possible to pass an entire structure to functions?

0 Answers  


Can you tell me how to check whether a linked list is circular?

1 Answers  


What is an lvalue?

0 Answers  


What does typeof return in c?

0 Answers  


What is a method in c?

0 Answers  


Categories