Answer Posted / vignesh1988i
here 'p' must be a void pointer.
here (int*)p means that 'p' is type casted to point to the integer value.
that address is incremented by 4.
thank u
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
write a c program for swapping two strings using pointer
What is the difference between formatted&unformatted i/o functions?
What is the difference between union and structure in c?
What is data structure in c programming?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Explain what is the stack?
How do you define a string?
What is the g value paradox?
What is character constants?
Explain 'far' and 'near' pointers in c.
What is the difference between c and python?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above