subject
Computers and Technology, 21.01.2020 22:31 knj281

Modify the code below to do the following:

1. print out the value of golden_ratio_prime in the simple_init() function.

2. print out the greatest common divisor of 3,300 and 24 in the simple_exit() function.

simple. c

#include

#include

#include

/* this function is called when the module is loaded. */

int simple_init(void)

{

printk(kern_info "loading module\n");

return 0;

}

/* this function is called when the module is removed. */

void simple_exit(void) {

printk(kern_info "removing module\n");

}

/* macros for registering module entry and exit points. */

module_init( simple_init );

module_exit( simple_exit );

module_license("gpl");

module_description("simple module");

module_author("sgg");

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
What are three software programs for mobile computing?
Answers: 1
question
Computers and Technology, 24.06.2019 11:40
100 pts. first person gets brainliest
Answers: 2
question
Computers and Technology, 24.06.2019 13:10
Write a program that has a conversation with the user. the program must ask for both strings and numbers as input. the program must ask for at least 4 different inputs from the user. the program must reuse at least 3 inputs in what it displays on the screen. the program must perform some form of arithmetic operation on the numbers the user inputs. turn in your .py file as well as a screenshot of your program's output. include comments in your code to explain how it works an example program run might look like (have fun with this and be creative): ‘what is your name? ’ “josh” ‘, josh. what is your favorite color? ’ “green” ‘mine too. do you also like ice cream? ’ “no” ‘josh, how old are you? ’ “40” ‘ and how many siblings do you have? ’’ “3” ‘that means you are one of 4 kid(s). is green the favorite color of anyone else in your house? ’
Answers: 3
You know the right answer?
Modify the code below to do the following:

1. print out the value of golden_ratio_prime...
Questions
question
English, 03.11.2020 03:20
question
Mathematics, 03.11.2020 03:20
question
French, 03.11.2020 03:20