Answer: Tar.
Explanation:
A chemical substance made when tobacco is burned. Tar contains most of the cancer-causing and other harmful chemicals found in tobacco smoke. When tobacco smoke is inhaled, the tar can form a sticky layer on the inside of the lungs.
Answer:
This code is written in MATLAB.
function [result] = isPalindrome(array,length)
if length == 0 || length == 1 %if the array is empty or contains only one element, the array is a palindrome
result = 1;
else
for i = 1:length/2 %check all the elements forward and backward until the middle is reached
if array(i) ~= array(end+1-i)
result = 0;
return
end
end
result = 1;
end
Explanation: Please read the comments in the code. In MATLAB, Boolean values are 1 or 0 instead of True or False.
Answer:
char
Explanation:
The character data type written as char holds any single character, numbers and non-printing characters. In java and most programming languages, the value of the character must be placed within single quotes. for example
char c = 'd'
char c = '9'
char c = '\t'
Are all valid declarations of a variable c as char and assigned d, then 9 and then used with a non-printing character (tab ) with the escape sequence.
The smallest unit of measure is a “Bit” or a Binary Digit. Glad to help!