answersLogoWhite

0

Not possible, in C you can use only call-by-value.

Except, of course, that you can pass pointers by value, which is exactly equivalent to call-by-reference.

There are many possible situations, but one of the most common is when passing a struct. It is not only more convenient and more efficient to pass a pointer to the structure than to pass a copy of it, it also allows functions to modify the structure and/or attach the structure to other data structures.

This is particularly true when doing pseudo-object-oriented programming in C; pointers to structures (equivalent to objects) are passed to many different functions (equivalent to methods) which may need to modify the members of the structures.

This is just the substitution of call-by-reference, not the thing itself. If you know Pascal or C++, you know what the real c-b-r is.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Should you go to the doctor if you have a migraine?

Yes you should go or call your doctor to talk about it


How do you unlock service reference number in smart broadband?

call *888 or go to nearest smart bro center.


Which one is correct call you at or call you on?

i believe the man should call first if he does it shows he is serious and he would like to go on another date if you have to step up and call that shows he isn't ready for a relationship


Should you call a potential employer with a question after an interview?

No, you should go directly to him, do not call unless you are desperate.


Do you have any reference list?

It is a good idea to prepare a list of references before you go to a job interview. You should contact those on your reference list to verify that they are willing to provide a job reference for you.


Manuel for a Stevens model 62?

a manual for a stephens model 62 should be easy to get just call savage arms and they should mail you one free of charge. if you go to u tube a man teaches you to disassemble one very well. zack a manual for a stephens model 62 should be easy to get just call savage arms and they should mail you one free of charge. if you go to u tube a man teaches you to disassemble one very well. zack a manual for a stephens model 62 should be easy to get just call savage arms and they should mail you one free of charge. if you go to u tube a man teaches you to disassemble one very well. zack


How should you cite a reference to a film in an essay at degree level?

you go to a cite and look it up


How do you find out my cellphone no?

A quick way to do it is to call one of your friends and they tell you what number shows up when you call. Another way to do it is go in your phone options and it should be listed in the options.


Where can one go to receive treatment for physical abuse?

To receive treatment for physical abuse, one should go directly to the police. If they are not ready to, they should go to someone they can trust like a teacher or guidance counselor. There are also hotlines a person can call to talk to someone anonymously.


Should one call a film or a cinema a dream?

It just might be 'day-dreaming', so… let's go see a dream!


When should you start making a reference list?

It is best to make a reference list as you go along. Otherwise, it can be quite a task once the main writing has been completed.


Where in the paper does the reference page go?

The reference page typically goes at the end of the paper, after the conclusion and any appendices. It should be on a separate page with the title "References" centered at the top. Each reference should be formatted according to the chosen citation style (e.g., APA, MLA) with a hanging indent.