Answer:
r u Kate tell me plz I love u baby tell me please
When a formula produces output that is too lengthy to fit in the spreadsheet cell, the error that will show is "#####". When you enter an invalid cell reference in a formula, for instance using "AVE(" instead of "AVERAGE("; the error that will show is "#NAME?". When you type text in cells that accept numeric data, for instance adding 1 + 1 + A; then the error that will show is "#VALUE". Lastly, when you type in a cell reference that does not exist, the error that will show is "#REF".
Answer:
B. 1 6 3
Explanation:
Given function definition for calc:
void calc (int a, int& b)
{
int c;
c = a + 2;
a = a * 3;
b = c + a;
}
Function invocation:
x = 1;
y = 2;
z = 3;
calc(x, y);
cout << x << " " << y << " " << z << endl;
- Since x is passed by value, its value remains 1.
- y is passed by reference to the function calc(x,y);
Tracing the function execution:
c=3
a=3
b=c+a = 6;
But b actually corresponds to y. So y=6 after function call.
- Since z is not involved in function call, its value remain 3.
So output: 1 6 3
Answer:
Differences between Object Oriented Programming and Structured Programming
1. Structured programming focuses on process/logic then data while OOP(Object Oriented programming) focuses on data.
2.OOP supports Inheritance,Encapsulation,Abstraction,Polymorphism while structured programming does not supports these.
3.Structured programming follows top-down approach while OOP follows bottom-up approach.
4.OOP is more secured than structured programming because it supports Abstraction (data hiding).