Question
Standard C library functions will always invoke a system
call when executed from a single-threaded process in a UNIX/Linux operating system?Solution
exit C library functions - Terminates the process normally, performing the regular cleanup for terminating programs. malloc - This is a function defined in standard C library and it does not always invoke the system call. When a process is created, certain amount of heap memory is already allocated to it, when required to expand or shrink that memory, it internally uses sbrk/brk system call on Unix/Linux. sleep - This is not even standard C library function, it is a POSIX standard c library function which always invokes the system call.
If an employer transfers second hand motor car to the employee, the perquisite is valued at:
At the end of the accounting year the capital expenditures are shown in the:
Read the following information to answer the below questions:
A company values inventory at lower of cost and NRV. Cost per unit = ₹150, NRV per unit = ₹140. For 5,000 units, calculate value as per Ind AS 2.
Which of the following is not considered a general consideration before sourcing accounting software?
What does the term "NEFT" stand for in the context of Indian banking?
Company A absorbs Company B. Purchase consideration is settled partly in cash and partly in shares. Which accounting method is used if the takeover is i...
Gifts not exceeding_____in value in a financial year by an employer to an employee shall not be treated as supply of goods or services or both.
What is Government e-Marketplace (GeM)?
Given:
• Net income: ₹30 lakh
• Depreciation: ₹10 lakh
• Increase in inventory: ₹5 lakh
• Decrease in payables...