wat s the meaning of (int *)p +4;

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


Please Help Members By Posting Answers For Below Questions

Is it fine to write void main () or main () in c?

543


What is the meaning of c in c language?

592


What is header file in c?

602


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

743


Find MAXIMUM of three distinct integers using a single C statement

622






How will you divide two numbers in a MACRO?

708


Was 2000 a leap year?

626


What is nested structure in c?

608


Explain how does free() know explain how much memory to release?

570


Is there a way to compare two structure variables?

615


What is a loop?

550


What is a nested loop?

645


What is the difference between exit() and _exit() function?

598


How does selection sort work in c?

617


How is pointer initialized in c?

582