When the design recommends static functions?
Answers were Sorted based on User's Feedback
Answer / manu
The design reccommends static functions when you need to
call the function even when the class is not instantiated.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / aruna kumar samal
When you want to use the function inside the program , not
outside then dsign recomend to do so. This does not have a
this pointer.static function maynot be virtual.there will
not be same version of static and non static function.
| Is This Answer Correct ? | 0 Yes | 3 No |
Why cstdlib is used in c++?
write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX
What are libraries in c++?
Write a program that will count the number of digits in an input integer up to value MAX_VALUE (2147483647). Thus, for an input of 5837 the output should be 4 digits Make sure that your program works for the numbers 0, 1, and 10. For the number 0, the output should be 1 digit
What are the three forms of cin.get() and what are their differences?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
When are exception objects created?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
wap to accept 10 numbers & display the number of odd and even numbers??
What is an adaptor class or wrapper class in c++?
Is atoi safe?
How is objective c different from c++?