diff. between *p and **p
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
There are 8 billiard balls, and one of them is slightly heavier, but the only way to tell was by putting it on a weighing scale against another. What's the fewest number of times you'd have to use the scale to find the heavier ball?
Explain the process of converting a Tree into a Binary Tree.
main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?
How Many Header Files in c?
How many levels of pointers have?
how the compiler treats any volatile variable?Explain with example.
Why we use conio h in c?
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?
How can my program discover the complete pathname to the executable from which it was invoked?
Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17