Start learning 50% faster. Sign in now
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.
A man purchased an article for Rs 2,000. He sold it to the first customer at a 10% loss, and the first customer then sold it to the second customer at a...
A shopkeeper buys 15 kg of sugar at ₹20 per kg. He mixes it with 5 kg of sugar purchased at ₹30 per kg. If he sells the mixture at ₹25 per kg, wha...
A traveller wants to earn
A and B started a partnership business investing in the ratio of 3 : 8. C joined them after 4 months with an amount equal to 3/4th of B. What was their...
A trader purchased two articles for a combined cost of ₹6400. He sold the first article at a profit of 30% and the second article at a loss of 20%. Th...
If a product originally priced at Rs 80 is on sale for 20% off, what is the sale price?
A shopkeeper priced an item at Rs. 640 above its original cost and then sold it at a 25% discount, resulting in a 35% profit. Calculate the cost price o...
A dishonest seller uses a weight of 900 gms instead of 1 kg and also sells his goods at 10% more than CP. Find his approx. profit percent.
A company produces two types of products, A and B. The production cost of A is Rs. 300 per unit, and the production cost of B is Rs. 450 per unit. The c...