What is the function of this pointer?



What is the function of this pointer?..

Answer / Akash Avasthini

"In C, 'this' is a special pointer that represents the address of the object for which a non-static member function is called. It allows you to access other members and functions of the object."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What are the application of c?

1 Answers  


Why is c called c not d or e?

1 Answers  


What is pointers in c?

1 Answers  


define string ?

1 Answers  


how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help

5 Answers  


main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }

1 Answers  


Write a program to reverse a given number in c language?

1 Answers  


What are pointers in C? Give an example where to illustrate their significance.

1 Answers   Wipro,


Can a pointer be static?

1 Answers  


What is the usage of the pointer in c?

1 Answers  


main() { printf("hello%d",print("QUARK test?")); }

5 Answers  


What is stack in c?

1 Answers  


Categories