Answer:
C. &&
Explanation:
Of the options provided:
A) ++ : increment operator. For example : ++1 = 2
B) || : Logical OR operator. A || B is true if any one of A or B is true.
C) && : Logical AND operator. A && B is true if both A and B are true.
A B A && B
False False False
False True False
True False False
True True True
D) @ : Ampersand character (commonly used in email addresses) e.g, [email protected]
The answer will be google docs since it depends on a web and its an application. hope it helps
Answer
5 bits
Explanation
A bit is the least or the smallest unit of data in a computer. They are the units of information in information theory, consisting of the amount of information required to specify one of two alternatives 0 and 1. This is because A bit has a single binary value, either 0 or 1
If you use roman alphabet A to Z lets use log 2(26)=4.7 bits. when you round off it will be 5 bits.
Answer:
a) Global
Explanation:
The scope of a variable declared outside of any function is Global.
Let us consider an example:
int g;
int add(int a,int b){
return a+b;
}
int subtract(int a,int b){
return a-b;
}
Here the variable g is defined outside any function and is accessible anywhere within the program. This is a global variable.
Variables defined within each function - a,b on the other hand have a local scope are are visible only within their respective function bodies.