C passes By value or By reference?
Answer Posted / red dustbin
C passes only by value. When passing a pointer, the pointer
is passed by value. This is equivalent to passing by
reference but it is the progammer's choice to pass the
pointer instead of the object itself.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is wrong with this code?
What does double pointer mean in c?
How to define structures? ·
string reverse using recursion
If I have a char * variable pointing to the name of a function ..
What is declaration and definition in c?
How do you list files in a directory?
How can I do peek and poke in c?
What is a dynamic array in c?
What is the condition that is applied with ?: Operator?
What does sizeof function do?
What is %s and %d in c?
what are non standard function in c
Why & is used in scanf in c?
Write a program to swap two numbers without using a temporary variable?