Comparison of C' malloc and free functions with c new and delete operators?
Hi, The difference between new and malloc: 1.The New is a operator however malloc is a function 2.New returns the object type and there is no typecasting required. In malloc type casting should be done as it returns a void*. 3. The new operator can be overloaded however there is no over loading in C and hence Malloc can not be overloaded. 4. Operater New asks for the number of objects to be allocated however in malloc it will ask you for the number of bytes to be allocated. 5. The New operater will return you a exception of memory is not available however in malloc it will return u a NULL. 6. New is a concept for dynamically allocation in OOPS(C++) however malloc is used in C. The difference between the delete and free is as follows: 1. delete is a operator and can be overloaded however free is a function and can not be overloaded. With Regards, Shashiraja Shastry
What is the definition of unsaturated?
1. not saturated; having the power to dissolve still more of a substance. 2. Chemistry. (of an organic compound) having a double or triple bond and capable of taking on elements or groups by direct chemical combination without the liberation of other elements or compounds, as ethylene, CH2=CH2; undersaturated.
What are the Pros and cons of piaget theory?
Piaget's theory of cognitive development offers several advantages, including its emphasis on the active role of children in their learning processes and the identification of distinct developmental stages. This framework helps educators and parents understand children's cognitive abilities and tailor their teaching methods accordingly. However, critics argue that Piaget may have underestimated children's capabilities and the influence of cultural and social factors on development. Additionally, the rigid stage-based approach may not accurately reflect the continuous and varied nature of cognitive growth in all children.
Comparison between England and Japan?
Japan have high production rate of techonlogy, wheras England mostly import theirs.
What is a relationship between quality and safety?
Obviously , something that has no quality , would have no safety.
Why do you think people buy branded goods?
Just because they know that they can trust that brand , and its products will cause no harm to them!
When we talk about safety products then quality is obvious factor in safety. If we have quality safety products then they work long lasting and give security from any type of harm. Only then we can sure about our safety. Falmit is also one of the top companies in South Africa which deliver best quality safety products throughout the world.
becasue they were in love and they wanted to have sex so that they can be good to go to italy so that they can be free to have sex every day and suckthe Dlol
In what direction is Mexico from the US?
Mexico is south of the US. consequently the US is north of Mexico
What is the definition of atavism?
a throwback to the past; a characteristic or trait that hasn't shown up for generations suddenly resurfacing
What is the comparison test for series?
The comparison test states that if a series of positive numbers converges, and in another series, each of the corresponding terms is smaller, then it too must converge. Similarly, if a series of positive numbers diverges to infinity, and another series has each of its terms greater than the corresponding terms of the other, then it too diverges.
What is the ratio of white hat hackers to black hat hackers?
"...there is no ratio because the white peoples are just the same as the black people because there both hat hackers because they hack into peoples stuffs..." - crap answer!!! In proper english: The ratio to black hat and white hat hackers can not be determined. White hat hackers are employed by companies to test and develop ways to improve defence on a company network/system. Black hat hackers are those that hack for fun and for personal profit such as hacking into a facebook profile or hacking into a bank to embezzle funds. Many white hat hackers are past black hat hackers that have become famous for hacking, so employers want them to test the defence and improve their system, so would these black hat or white hat?? White hat hackers and black hat hackers are divided by a very thin line and so it is very hard to determine which hacker belongs to which group. Also, Black hat hackers are performing illegal acts breaking the codes of the computer misuse act. Because of this, they will lurk in shadows and may not freely admit to being a hacker. Therefore, it is unknown how many black hat hackers there are and so it can not be put into ratio. I like the correction above, One rule for 'white hatters' regards the use of correct spelling and punctuation ... vital for good code! So one might consider the first respondant above to be at least a 'grey hatter' but certainly not a 'white hatter'. Personnaly I think that in addition to the correction above this determination must consider the overall security of the web; in doing so we could see who is 'ruling' at that particular time and posibly, therefore determine, where the majority strength lies if not the actual numbers.
5 > 4
What is Difference between template and wizard?
Templates)
MS Word में कई ऐसे प्रोग्राम है जो कुछ विशेष कार्यों को शीघ्रता से करने में हमारी सहायता करते हैं वे कई प्रश्न पूछ कर हमारी पसंद जान लेते हैं और उनके अनुसार ही कार्य संपन्न कर देते हैं ऐसे प्रोग्राम को विजार्ड कहा जाता है।
Wizard
विजार्ड एक ऐसी सुविधा हैं आपके जटिल कार्य को आसान बनाता हैं और आपको मार्गदर्शन देता हैं विजार्ड का उद्देश्य किसी कार्य को स्टेप बाय स्टेप कराना है जिसके द्वारा किसी भी कार्य को आसानी से किया जा सके उदाहरण के लिए MS Word में मेल मर्ज की प्रक्रिया विजार्ड के द्वारा ही संपन्न होती
हैं |
Template
डिजाइन की तरह टेंपलेट भी एमएस वर्ड में उपलब्ध एक सुविधा है टेम्पलेट किसी डॉक्यूमेंट का एक पहले से बना हुआ प्रारूप होता हैं जिसमें किसी डॉक्यूमेंट को फॉर्मेट या तैयार करने के लिए आवश्यक नियम दिए होते हैं किसी टेंपलेट को चुनने से वे सभी नियम उस डॉक्यूमेंट पर लागू हो जाते हैं उदाहरण के लिए Font, Color, background, style, Table, text box आदि टेम्पलेट में पहले से सेट रहते हैं हमे केवल अपना डाटा डालना पड़ता हैं।
What kind of relationship between two or more things is seen through making comparisons?
Comparison shows how two or more things are similar. Similarity is the relationship.
There is a comparison relationship between a marble, a baseball, and a beach ball.
The similarity relationship is they are all round.
Contrast shows how two or more things are dissimilar.
There is NOT a comparison relationship between a box, a hammer, and a fingernail file.
While they may have some similar qualities, they cannot be compared because they are not similar enough.
Here is a tricky question-- How is a doughnut, a garden hose, and a wedding ring are similar (compare) ?
Answer - Comparison: They all have a hole in the middle that goes all the way through to the other side.
If I added a bucket to this list, the bucket would be dissimilar because the hole is only on one side and does not go all the way through.
Here is another tricky question: How does a fishing net, a strainer to drain water from cooked spaghetti, and fishnet stockings compare and contrast?
The comparison is they all have small holes that go through to the other side.
But they are dissimilar because they are made of different materials, their sizes and hardness are different, and they are used for different purposes.
=This is called a Metaphor.=