Answer:
true
Explanation:
there are a lot of easier ways to access clients through computers with the internet.
You didn't specify what the program should output, so there are many possibilities that result in a working program. It *looks* like this was intended:
int x = 24;
int y;
y = x-12;
cout<<y<<endl;
and it will display 12.
Answer:
<u>Call by reference</u>
In an function if the variables are passed as reference variables this means that the variables are pointing to the original arguments.So the changes made in the function on the reference variables will be reflected back on the original arguments.
For example:-
#include<stdio.h>
void swap(&int f,&int s)
{
int t=f;
f=s;
s =temp;
}
int main()
{
int n,m;
n=45;
m=85;
swap(n,m);
printf("%d %d",m,n);
return 0;
}
the values of m and n will get swapped.
<u>
Call by value</u>
In this program the values of m and n will not get swapped because they are passed by value.So duplicate copies of m and n will be created and manipulation will be done on them.
#include<stdio.h>
void swapv(int f,int s)
{
int t=f;
f=s;
s=temp;
}
int main()
{
int n,m;
n=45;
m=85;
swapv(n,m);
printf("%d %d",n,m);
return 0;
}
To rewrite something , but in your own words
Answer:
INPUT
Explanation:
EXAMPLE PYTHON CODE
_______________________________________________________
INPUT CODE:
_______________________________________________________
foo = input('foo: ')#Have some text printed before the input field
bar = foo
print(bar)
_______________________________________________________
OUTPUT CODE:
_______________________________________________________
foo: Hello World!
Hello World!
>>> bar
'Hello World!'
>>>foo
'Hello World!'