Answer Posted / harsh
the difference between malloc and new is just that when a
variable is declared using malloc, it requires type casting
while new operator whenever used does not type cast by
itself as there is no need for the variable to be typecasted
when used with new operator
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What do you mean by Encapsulation?
What does <> mean pseudocode?
What are two types of polymorphism?
How is class defined?
What is object in oop with example?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is for loop and its syntax?
What are the types of abstraction?
2. Give the different notations for the class.\
How to use CMutex, CSemaphore in VC++ MFC
What is overriding in oop?
write string class as your own class in java without using any built-in function
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.