Answer Posted / 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 |
Post New Answer View All Answers
Is there a way to switch on strings?
What is c definition?
What is the difference between a function and a method in c?
What are actual arguments?
write a c program in such a way that if we enter the today date the output should be next day's date.
What is the benefit of using const for declaring constants?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Write a code of a general series where the next element is the sum of last k terms.
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Why malloc is faster than calloc?
Does * p ++ increment p or what it points to?
Explain what is gets() function?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?