Non-using of temporal variable. It is possible, but has no use in real programming. Eg.
a := a XOR b
b := a XOR b
a := a XOR b
I warn you again: this is just a curiosity, not something you really use.
Nothing. Never do that.
To swap two numbers N1 and N2, using a third variable T... T = N1; N1 = N2; N2 = T;
q only if p. The converse of a statement is just swapping the places of the two terms.
A Boolean variable is a variable from Boolean algebra having one of only two values.
The required c program is given below /*Swapping(interchange) the two entered numbers*/ #include<stdio.h> main() { /*Without using third variable*/ int a,b,t; printf("Enter a:"); scanf("%d",&a); printf("Enter b:"); scanf("%d",&b); a=a+b; b=a-b; a=a-b; printf("\n After swapping without using third variable"); printf("\na=%d\nb=%d",a,b); }
Actually, you have two - dependent and independent. But, you only have one variable because otherwise the answer wouldn't be accurate if you had more than one variable.
Swapping means to swap the values of two addresses in main memory.
A discontinuous variable is a variable that has distinct categories. Blood type is a good example. You could be A, B, AB or O. This contrasts with a continuous variable such as height or weight, where there are an almost infinite number of possible values. Data for discontinuous variables is usually represented using a bar graph or pie chart, but never a scatter graph.
A binary variable.
The x variable, of course! If there are only two variables then the independent variable, if one exists, should be plotted on the x-axis.
There are two ways in which you can swap without a third variable. 1. Using xor operation swap( int *a, int *b) { *a = *a ^ *b; *b = *a ^ *b; *a = *a ^ *b; } 2. Using addition and subtraction swap( int *a, int *b) { *a = *a + *b; *b = *a - *b; *a = *a - *b; } }
If there are only two variables, then the dependent variable has only one variable it can depend on so there is absolutely no point in calculating multiple regression. There are no other variables!