C passes By value or By reference?
Answer Posted / rohit
it depends on us how to pass a value
because ,c can pass by both value and reference
by valu means actual val of variable ia passed
by reference address of the required value is passed
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are near, far and huge pointers?
Should a function contain a return statement if it does not return a value?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is meant by keywords in c?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is huge pointer in c?
Explain the advantages and disadvantages of macros.
What is the use of a β β character?
What are void pointers in c?
Can i use βintβ data type to store the value 32768? Why?
What does main () mean in c?
Between macros and functions,which is better to use and why?
What is void main () in c?
What is the use of static variable in c?