answersLogoWhite

0

C: there are no methods in C.

C++: no.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Is it corrrect to declare a variable in c or c plus plus as two or three words for eg int seg no?

No., If you want to declare you jus use _ in between so the declaration will be like int seg_no;


What is a method in c plus plus?

In C++, methods are simply class member functions.


What do you call an object function in c plus plus?

method


Why you need to declare variable 1st in turbo c plus plus?

In C++ all names (including variables) must be declared before they can be used.


Why need to declare header files compulsory in c plus plus but not in c?

The need to declare header files is not compulsory in C++. You may place all your code in a single source file if you so desire. However, header files are useful in that they separate interface from implementation and aid in hiding information.


How the end of file can be detected in c plus plus?

Use the istream::eof() method.


Is it possible to declare a keyword as an identifier in c plus plus?

No. Keywords are reserved and cannot be used as identifiers. However, C/C++ is case-sensitive. So although register is a reserved keyword, Register is not.


Can you make private class in c plus plus?

yes it is possible to make a private class in C++ but this class will not solve any purpose.................


What is virtual method invocation in java and net?

Virtual method invocation is a term borrowed from C++. It means that methods are invoked polymorphically. Instead of invoking the method in the compile-time type, the method is invoked as its runtime type. In C++, you declare methods virtual that are executed this way.


Where can you find quine mccluskey method written in C plus plus?

See related link. It's in C rather than C++, but conversion to C++ is fairly simple.


Is overriding a dynamic polymorphism in c plus plus or not?

In C++, overriding and function, method, or operator is a different thing than (dynamic) polymorphism, so overriding a polymorphic method is almost entirely possible.


In c plus plus are local declarations visible to the function in a program?

If you declare a variable inside of any fuction (except main) it will not be available to other functions.