answersLogoWhite

0

Go to the link. You will got use of "this" keywork with simple explanation and example. http://cpp.codenewbie.com/articles/cpp/1527/Keyword_this-Page_5.html

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

CPP Program for Implementing Knuth-morris-pratt pattern matching algorithm?

what is the pure algorithm instead of cpp program?


A program without an extension name CPP will run?

Yes because a program can run without a CPP extension, especially if program extension is .exe


How to print the code of a program in the output terminal when the program is being executed in cpp?

Such a program is called a Quine. http://en.wikipedia.org/wiki/Quine_(computing)


What is program counter?

Synonym for Instruction Pointer.


What is meant by an pointer in c program?

Pointer is like variable address the members in memory shell


How do you determine the pointer?

What do you mean by 'determine'? Explain, please.


What c plus plus program must be saved in a text with the extension cpp?

The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.


Why the extension cpp of c?

The extension of a file containing a C program can be any extension, so long as the compiler or platform can infer the proper rules to build it. Commonly, for C programs, the extension is .c, so myfile.c would be a C program. The term cpp is not a designation for C++. It means C Program Precompiler, and it is the normal way to build one or more C programs into an executable. Over the years, cpp has evolved into being able to handle all sorts of languages. C++ is one of them. Typical extensions for C++ programs are .cc, .cpp, and .cxx.


Write a program in cpp to print the charminar?

int main (void) { puts ("charminar"); return 0; }


What is the difference between stack pointer and program counter?

The stack pointer keeps track of the top of the stack used by the current thread. The program counter keeps track of the next instruction in a program. Both are registers and both store a memory address.


What is the purpose of pointer in C?

the purpose of pointer in c for saving the memory space.,and reduce the length and complexity of the program


Will particular C program be compatible for both g c c and DEV Cpp compiler?

That is possible. Try it.