Answer Posted / sri
yes, passing array to a function is always call by reference
method because array name itself act as a pointer to its
first position.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
if p is a string contained in a string?
What is c language used for?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is preprocessor with example?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What are nested functions in c?
What does %d do in c?
Why doesnt this code work?
What is sizeof array in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Why is c used in embedded systems?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Why pointers are used?
How can I copy just a portion of a string?
Explain what is output redirection?