Answer Posted / kalyani.p.v
call by value:The called function sends its value as
argument to calling function.
Call by reference:The calling function sends address of
variable to the called functin.
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
How can I open files mentioned on the command line, and parse option flags?
Why is c platform dependent?
Explain what is the advantage of a random access file?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
how we can make 3d venturing graphics on outer interface
What is strcpy() function?
Explain what’s a signal? Explain what do I use signals for?
How many keywords are there in c?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Linked lists -- can you tell me how to check whether a linked list is circular?
how logic is used
How can I sort more data than will fit in memory?
Add Two Numbers Without Using the Addition Operator