program for validity of triangle from 3 side
Answers were Sorted based on User's Feedback
Answer / pritam
if(a < (b+c))
if( b < (c+a))
if(c < (a+b))
printf("its a triangle\n");
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / rakesh ranjan
I AGREE WITH PRITAM AND MANU
................................
Abhradeep Chatterjee is a real STUPID
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / abhradeep chatterjee
No above two answers are not corret, because i am not sure
about the shape and angle of the triangle.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / abhradeep chatterjee
yes, the above two answers are correct.
Is This Answer Correct ? | 1 Yes | 3 No |
Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
why we need function pointers?
main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs?
What is the difference between array and pointer in c?
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
What are logical errors and how does it differ from syntax errors?
Can you apply link and association interchangeably?
What is the general form of function in c?
what is difference between #include<stdio.h> and #include"stdio.h"
What are advantages and disadvantages of recursive calling ?
12 Answers College School Exams Tests, Evolving Systems, HP, Jyoti Ltd, Sage, Wipro,
Write any data structure program (stack implementation)