C: there are no methods in C.
C++: no.
1 answer
D c b , d c a , d c b b b , d c a , d c b , d c a , d c b b b , d c a
1 answer
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("Enter any three numbers");
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c)
printf("A is greatest");
else if(b>a&&a>c)
printf("B is greatest");
else if(c>a&&c>b)
printf("C is greatest");
if(a<b&&a<c)
printf("A is smallest");
else if(b<a&&b<c)
printf("B is smallest");
else if(c<a&&c<b)
printf("C is smallest");
getch();
}
1 answer
Yes. y = mx + c where m and c are non-zero constants.
Yes. y = mx + c where m and c are non-zero constants.
Yes. y = mx + c where m and c are non-zero constants.
Yes. y = mx + c where m and c are non-zero constants.
2 answers
Yes, you can rewrite a cuda program originally written in c in c plus plus.
1 answer
A programmer can write programs in C, but C can't write anything by itself.
1 answer
#include
1 answer
It is possible to contract Hep C by contact with any Hep C contaminated bodily fluid.
1 answer
HTML, JavaScript, PHP, SQL, Visual Basic, Java, C#, Ruby, Python, C, C++, Objective-C, Perl.
1 answer
Yes you can write a C program without using turbo C IDE.
All you need is a text editor like notepad where you can write your codes and after writting them save the file with .c extension.
But for compilling and running the code you will be needing turbo C IDE.
1 answer
C :- 1962 at AT and TS Bell Lab.
C++ :- 1980's at AT and TS Bell Lab.
Java :- 1991 by Sun microsystem
.NET :- 2000 by Microsoft
1 answer
Yes, include files can be nested in C and C++. In fact, most library implementations do just that.
1 answer
No c-sections are given where the baby is - in the stomach.
1 answer
int min (int a, int b, int c) {
if (a <= b && a <= c) return a;
if (b <= a && b <= c) return b;
return c;
}
1 answer
Loops are very important part of a C-language.
If we have to run our programe multiple time then we use Loops of C.
1 answer
Eclipse with CDT (C/C++ development tools)
see: http://eclipse.org/cdt
1 answer
Air Chief Marshal Sir Hugh Dowding, who had been C-in-C of Fighter Command since 1936. He was ousted by a group of schemers and opportunists in November 1940.
1 answer
Class acts as an encapsulation of attributes and methods, that is used by an object oriented programming (OOP) language. Since C is not an OOP, its a structural programming language, one can not create classes in C. That is why OOP version of C was developed called C++, where one can work with classes.
1 answer
I'll type up some practice temps; the formula is on the discussion page. 34.5 C = F -67 C = F 2 C = F -156 C = F
1 answer
Copper Loss at 75 C = Copper Loss at Ambient Temperature C * (310/(235+Ambient Temperature C))
1 answer
Yes, it is possible to do this. Consider the following example that returns an instance of class C from the sum of two instances of class A.
#include <iostream>
class A {
public:
A(int i=0):m_data(i){}
int m_data;
};
class C {
public:
C(int i=0):m_data(i){}
int m_data;
};
C operator+(const A&a,const A&b) {
return(C(a.m_data+b.m_data));
}
int main( void )
{
A a(5);
A b(6);
C c=a+b;
std::cout<<"c.m_data="<<c.m_data<<std::endl;
return(0);
}
1 answer
Yes, C and Perl can be made to talk together quite well. XS (http://en.wikipedia.org/wiki/XS_(Perl)) is the most widely used method for doing this - it allows you to write binding to C or C++ code so it can be called as a perl subroutine. Inline::C (http://search.cpan.org/~ingy/Inline-0.44/C/C.pod) is another method - it allows you to write C code inside Perl code and generates the necessary XS automatically. If you want to call perl code from C, you can link against libperl.
1 answer
No. An equiangular triangle is always equilateral. This can be proven by the Law of Sines, which states that sin A / a = sin B / b = sin C / c, where A, B and C are angles of a triangle and a, b and c are the opposing sides of their corresponding angles. If A = B = C, then sin A = sin B = sin C. Therefore for the equation to work out, a = b = c. Therefore the eqiangular triangle is equilateral, and therefore not scalene, which requires that all sides of the triangle be of different lengths.
1 answer