diff. between *p and **p

Answers were Sorted based on User's Feedback



diff. between *p and **p..

Answer / virag shah

*p is a simple pointer which holds the address of another
variable.


while **p is a double pointer which holds address of the
pointer in which actual address of the another variable is
stored.

Is This Answer Correct ?    30 Yes 1 No

diff. between *p and **p..

Answer / abhijeet kankani

Ya,the person is riht *p is just pointer which holds the
address of any variable(identifier)
where as **p is pointer to pointer which holds
address of another pointer

Is This Answer Correct ?    8 Yes 1 No

diff. between *p and **p..

Answer / sivavendra

yeah,,,its right,,,
*p is a ptr tat holds the address of another variable....where as **p is a double ptr which hold the address of another pointer and that pointer hold the address of the data....

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is realloc in c?

0 Answers  


What are the features of c language?

0 Answers  


we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?

2 Answers   Convergys,


what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,


#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }

15 Answers   Infosys,






Which is better oop or procedural?

0 Answers  


without using control structures and control structures find the max and min of given 2 nos

1 Answers   HCL,


C program to find frequency of each character in a text file?

6 Answers  


WHAT IS MEANT BY LIFE?

2 Answers  


How to add two numbers without using semicolon n c????

3 Answers  


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

0 Answers  


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

0 Answers  


Categories