C Programming and Technical Programming Arrays

you must implement the function isTriangle( Point *P1,Point *P2,Point *P3) to accept three points as inputs and checks wether the given three points form vertices of triangle.
If They form a triangle then function returns 1 else function returns 0
use point structure.


int isTriangle( Point *P1,Point *P2,Point *P3)
{
// write your code here
}

Read Solution (Total 4)

C Other Question

What will be the output of the C program, if input is 6?

#include
int main()
{
unsigned char i = 0;
for(;i<=0;i++) ;
printf("%dn",i);
return 0;
}
Why is 0xFACA used in a program?