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

an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

0 Answers  


WHAT IS FLOAT?

3 Answers  


Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program

19 Answers   CTS, HCL, TCS,


What is a function in c?

2 Answers  


How to implement variable argument functions ?

1 Answers   HP,


i want to have a program to read a string and print the frequency of each character and it should work in turbo c

3 Answers   Persistent, Wipro,


What are # preprocessor operator in c?

0 Answers  


what is the difference between NULL & NUL keywords in C?

3 Answers  


How can you increase the size of a statically allocated array?

0 Answers   TISL,


we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?

4 Answers   HP, Wipro,


Why preprocessor should come before source code?

2 Answers  


What is the code in while loop that returns the output of given code?

0 Answers  


Categories