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 the use of a semicolon (;) at the end of every program statement?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
what is the structure pointer?
List the variables are used for writing doubly linked list program.
How will you divide two numbers in a MACRO?
What is indirection?
Explain indirection?
How can you return multiple values from a function?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
How can I change the size of the dynamically allocated array?
Why we write conio h in c?
What is class and object in c?
Write a program to implement queue.
Differentiate between a for loop and a while loop? What are it uses?
What do you mean by keywords in c?