What is pass by reference in c?



What is pass by reference in c?..

Answer / Ramniwash Singh Yadav

In C, pass by reference means that the address of the argument is passed to the function. This allows the function to modify the original variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

1 Answers   InterGraph,


Why doesn't C support function overloading?

3 Answers  


a program that can input number of records and can view it again the record

1 Answers   Accenture,


If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.

1 Answers   TCS,


What is strcmp in c?

1 Answers  


In C language, a variable name cannot contain?

1 Answers  


what is bit rate & baud rate? plz give wave forms

1 Answers  


How can you avoid including a header more than once?

1 Answers  


What is operator precedence?

1 Answers  


program to find a smallest number in an array

15 Answers   Microsoft, Sony,


sum of two integers values only other then integer it should print invalid input.

1 Answers  


In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?

5 Answers  


Categories