Which of the following groups is NOT located on the Home tab?
Animations
Answer: Linked cell
Explanation: I just did a test
Answer:
<u>How to implement a stack in C using an array?</u>
A stack is a linear data structure that follows the Last in, First out principle (i.e. the last added elements are removed first).
This abstract data type can be implemented in C in multiple ways. One such way is by using an array.
Pro of using an array:
No extra memory required to store the pointers.
Con of using an array:
The size of the stack is pre-set so it cannot increase or decrease.
Answer: 2, 3, 6, 8
Explanation:
i must tell you something very important.
in LISTS.... the FIRST thing is marked with a 0.
[0, 1, 1, 2, 3, 6, 8, 13, 21, 34]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
do you see how these line up with each other?
the output would be 2, 3, 6, 8
Answer:
- num1=10
- num2 =20
- num3="30"
- sum = num1+num2+num3
- print (num1)
- print (num2)
- print (num3)
- print (sum)
The error is at line 3. The variable num3 has been assigned a string value with use of the quotes.
To fix the error, take away the quotes from the number 30, since the arithemetic operation cannot be carried out on the string in python program language.
Explanation: