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 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. sean is a computer programmer. he has programmed an application for toddlers that plays nursery rhymes. however, a logic error has occurred in the program. which problem is a likely consequence of the error? a. the program crashes every time the user wants to play the nursery rhymes. b. the program crosses its buffer boundaries and overwrites an adjacent program. c. the program plays a different nursery rhyme than the one the user intended to play. d. the program shows different structures in its programming language code. e. the program introduces new viruses every time the user plays a nursery rhyme.
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
Can someone work out the answer as it comes up in one of my computer science exams and i don't understand the cryptovariables
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
When writing a business letter, how many times can you use the same merge field in a document? once once, unless using the address block feature unlimited it will depend on the type of document you choose
Answers: 1
You know the right answer?
Modify the code below to do the following:

1. print out the value of golden_ratio_prime...
Questions
question
Mathematics, 07.07.2020 21:01
question
English, 07.07.2020 21:01
question
Mathematics, 07.07.2020 21:01
question
Mathematics, 07.07.2020 22:01
question
Mathematics, 07.07.2020 22:01
Questions on the website: 13722359