Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

How will you allocate memory to double a pointer?

How will you allocate memory to double a pointer?..

Answer / pavan135

char *pch; **ppch;

pch = malloc(100);
if(pch == NULL)
return -1;
ppch = &pch;


Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

Is c an object oriented programming language?

1 Answers  

develop algorithms to add polynomials (i) in one variable

0 Answers   Ignou, TCS,

What are the storage classes in C?

0 Answers  

What is Function Pointer? Explain with example?

3 Answers  

What is identifier in c?

0 Answers  

What is getch?

0 Answers  

Explain in detail how strset (string handling function works )pls explain it with an example.

1 Answers  

please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

0 Answers  

what is the difference between. system call and library function?

2 Answers   CDAC, Satyam,

What is the difference between File pointer and Internal Charecter Pointer?

2 Answers   TATA,

please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 Answers  

char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)

7 Answers   Mascot,