What's the difference between calloc() and malloc()?
Answer Posted / guest
calloc() takes two arguments, and initializes the allocated
memory to all-bits-0.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of using Unions?
Is register a keyword in c?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
Discuss the function of conditional operator, size of operator and comma operator with examples.
what are enumerations in C
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What is the purpose of 'register' keyword in c language?
What is self-referential structure in c programming?
Do pointers need to be initialized?
how do you programme Carrier Sense Multiple Access
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Why array is used in c?
What functions are used for dynamic memory allocation in c language?
How can I read/write structures from/to data files?
What is bubble sort in c?