Answer:
Length of char array: sizeof(arr)
Length of a string object: myString.length()
Explanation:
The sizeof approach is generally not recommended, since this information is lost as soon as you pass the array to a function, because then it becomes a pointer to the first element.
Answer:
A) database
Explanation:
A database is used by people to help keep track on things
Answer:
Instead of using a key or entering a code to open a door, a user can use an object, such as an ID badge, to identify themselves in order to gain access to a secure area. What term describes this type of object?
Explanation:
If you know what timezone they're in, try to work out what time in your own timezone your free, then tell the other person to do the same. Tell them what times in your timezone and the other can search up what the time is in their own timezone. If there is a specific time when you are both free, use that.
Ex:
You live in the U.S. but you have a meeting with someone in the U.K. You're only free at 4:00pm-6:00pm and they're only free from 10:00am-11:00am. 11:00am in England is 4:00pm in the U.S. so do at that time!
Hope this helps!
Answer:
Following are the statement is given below
if(updateDirection ==1) // check condition
{
++numUsers; // increments the value
}
else
{
--numUsers; // decrement the value
}
Explanation:
Following are the description of statement
- Check the condition in the if block .If the "updateDirection" variable is 1 then then control moves to the if block otherwise control moves to the else block statement.
- In the if block the statement is "++numUsers" it means it increment the value by 1 .
- In the else block the statement is "--numUsers" it means it decrement the value by 1 .