Answer:
D
Explanation:
the first three you would need hands-on practice to learn.
I like the second one better xx
Answer:
The circular individually linked list is more efficient for time sharing process ,when multiple application are running on pc it is responsibility of an output system to put all process on a list and execute them all by giving them piece of time and make them wait when cpu is selected to other process.
It will be more suitable for output system to use circular list as when it reaches to last of list it will be manually reaches to starting node or process.
Singly circular linked list is used when we are concerned with the memory as only one process will be allocated memory at once and there are no chances of process to go never-ending waiting.
Explanation:
Answer:
#include <stdio.h> // header file inclusion
int main() // main function declaration
{
int number,product=0; // variable declaration
while(product<100) // while loop
{
scanf("%d",&number); // input a number
product= number*10; // multiply the number by product
printf("%d\n",product); // print the value of product
}
return 0; // return statement
}
Output:
- If the user enter 10 then the loop terminates for the first time and the output is 100.
- If the user enter 5,10 then the loop executes in 2 times and the output is 50 and 100.
Explanation:
- Firstly there is an inclusion of header file which understands the meaning of printf() and scanf() function.
- Then there is the main() function definition
- Then we declare a two-variable (number and product) of integer type.
- Then we define a while loop and check the condition that product value is less than 100 or not.
- Then we take input and multiply by 10.
- Then we assign the value in the product and print the product value.