How will you allocate memory to double a pointer?
Answer / pavan135
main()
{
char *pch; **ppch;
pch = malloc(100);
if(pch == NULL)
return -1;
ppch = &pch;
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Is double link list a linear data structure? If Yes, Why?If No, Why?
write a progrmm in c language take user interface generate table using for loop?
How can I get back to the interactive keyboard if stdin is redirected?
What do you mean by team??
WHAT IS ABSTRACT DATA TYPE
Explain built-in function?
What is actual argument?
program that accepts amount in figures and print that in words
2 Answers Infosys, Lovely Professional University, Wipro,
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is the use of parallelize in spark?
two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.
what is the difference between getch() and getche()?