answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Writ a c plus plus program a function intersect() with four float parameter m1b1m2b2.the function returns 1 if the two Line intersect. otherwise should return 0.?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do I use the IF function?

The IF function takes three parameters. The first is an expression, such as an inequality, that will evaluate to either true or false. If the expression is true the second parameter is used, otherwise the third parameter is used.


Does a function always require a parameter?

No. For example, function getpid never requires a parameter.


Can you have in-out parameter in a function if not then why?

because function have return sts thatway it is not necessary out parameter to function


Does a constant function intersect the x axis?

Only if y = 0 then it is the entire x-axis. Otherwise, for y = k and k is any number except zero, the graph is parallel to the x-axis and does not intersect.


What is parameter is parameter is?

formal parameter is we accept in function body/defination actual parameter is we pass from calling function to function body. Ex : int a,b; void add (a,b) ; where a & b is actual parameter // calling function void add(int i,int j) where i & j are formal parameter // function body { } By Darshan Paliwal


What is the function of the replace parameter in Oracle?

The function of the replace parameter in Oracle is to replace a sequence of characters in a string with other characters, usually in sets of characters.


What is call by refrence?

When calling a function, passing a variable's address as function parameter.


What is an actual parameter?

A formal perimeter refers to an identifier that is used in a method to stand for the value that is passed into the method by a caller. An actual perimeter on the other hand refers to the actual value that is passed into the method by a caller.


What does the cons function do in clojure?

Returns a new sequence where the first parameter is the first element and the second parameter is the rest.


What is Call by value?

when the function is call by value,u are making any changes in formal parameter does not reflect the actuasl parameter.


Why void is used in c language?

void as function return-type means no return value void as function parameter means no parameter void * as pointer type means generic pointer


What are the disavdvantges of PHP?

Its function naming and parameter order/return values are inconsistent