Answer: The difference between call by value and call by reference is that in call by value the actual parameters are passed into the function as arguments whereas in call by reference the address of the variables are sent as parameters.
Explanation:
Some examples are:
call by value
#include <stdio.h>
void swap(int, int);
int main()
{ int a = 10, b= 20;
swap(a, b);
printf("a: %d, b: %d\n", a, b);
}
void swap(int c, int d)
{
int t;
t = c; c = d; d = t;
}
OUTPUT
a: 10, b: 20
The value of a and b remain unchanged as the values are local
//call by reference
#include <stdio.h>
void swap(int*, int*);
int main()
{
int a = 10, b = 20;
swap(&a, &b); //passing the address
printf("a: %d, b: %d\n", a, b);
}
void swap(int *c, int *d)
{
int t;
t = *c; *c = *d; *d = t;
}
OUTPUT
a: 20, b: 10
due to dereferencing by the pointer the value can be changed which is call by reference
Answer: clip art
Explanation:
- The clip arts are graphic images that are pre-made illustrations for the purpose of creating any medium (designs or art).
- It has no restrictions to use them, it can be used by anyone, hence its copyright-free.
- It comes in both electronic and printed form.
- But mostly they are designed and distributed and used by a person in an electronic form.
Hence, the complete statement is "Pre-made, copyright-free illustrations are called <u>clip art</u>".
Answer:
Option(c) is the correct answer.
Explanation:
Cross-site scripting is the type of security breach that are usually found in the software applications.The main objective of cross site scripting it is used by the hackers to exploit the data security.
- The cross site scripting is the collection of web pages that enables people to insert the text like comment, name stores it afterwards it save the data and then it appears to the other users.
- Others options are incorrect because they are not related to given scenario.
1 inch (2.54 cm
the default top and bottom margins were 1 inch (2.54 cm), but 1.25 inches (3.17 cm) were given at the left and the right.
That's standard for document size by default.
Answer:
B- Workgroup model
Explanation:
A workgroup model can be defined as a process which enables system to be peer together in order to access the resources shared like files and printers at the same time.
In work group microsoft operating systems tend to share files, printers, and even Internet connection among them which is why work group is important especially in a place in which their are various computers with limited files and printer or internet connection.