What are the valid types of data that the main () can
return in C/C++ language
Answers were Sorted based on User's Feedback
Answer / milind furia
int and void(if u consider this as a datatype) only
| Is This Answer Correct ? | 4 Yes | 6 No |
Answer / umashankar mishra
c returns int data type
whereas c++ return void
| Is This Answer Correct ? | 0 Yes | 4 No |
What do you mean by binding of data and functions?
Whats is abstraction in oops?
what is object slicing?
What is constructor overloading in oop?
What is Iteration Hierarchy? What is what is Object behavioral concept?
Why is abstraction needed?
How is polymorphism achieved?
what is the difference between function template and template of function?explain with example.
What is an orthogonal base class?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.
Should you protect the global data in threads? Why or why not?