ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
a 'c' program to tell that the set of three coordinates lie
on a same line
 Question Submitted By :: Asmath
I also faced this Question!!     Rank Answer Posted By  
 
  Re: a 'c' program to tell that the set of three coordinates lie on a same line
Answer
# 1
write a code that checks area of triangle formula i.e 
   x1(y3-y2)+x2(y1-y3)+x3(y2-y1)=0.

if zero points lie on same line
 
Is This Answer Correct ?    3 Yes 0 No
Vamshi Krishna
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What is an object?  2
how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help  2
how to return 1000 variables from functio9n in c?plz give me code also  3
WAP to accept first name,middle name & last name of a student display its initials? NIIT1
what about "char *(*(*a[])())();" Oracle2
what is a function pointer and how all to declare ,define and implement it ??? Honeywell3
what is compiler  5
What is the real difference between arrays and pointers?  5
what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);} TCS8
How can I allocate arrays or structures bigger than 64K?  4
how to add numbers without using arithmetic operators.  6
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?  1
what is the different between if-else and switch statment (other than syntax) CTS9
how to convert binary to decimal and decimal to binary in C lanaguage  2
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array? Qualcomm1
how to find out the inorder successor of a node in a tree?? TCS2
what is the use of pointers  4
f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=? Geometric-Software2
write a c program to check weather a particluar bit is set or not? IBM2
main() { int i=400,j=300; printf("%d..%d"); } ME7
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com