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 size of union in c?
What is data structure in c and its types?
Write a program to find factorial of a number using recursive function.
What is scope rule of function in c?
Is void a keyword in c?
What is LINKED LIST? How can you access the last element in a linked list?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Can a pointer be volatile in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is the difference between exit() and _exit() function?
Why cant I open a file by its explicit path?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Can a void pointer point to a function?
what is the structure pointer?