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 |
Explain the ternary tree?
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
is compiler do read the data line by line or not. ??
6 Answers LG Soft, Satyam, Tech Mahindra,
Write a program in c to replace any vowel in a string with z?
What is difference between arrays and pointers?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
implement OR gate without using any bitwise operator.
Why we use conio h in c?
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
Why c++ is called c++ and not c+?
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }
What is a pointer in c plus plus?