wat s the meaning of (int *)p +4;
Answers were Sorted based on User's Feedback
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 |
Answer / kathir
Type casting p to a pointer to integer.If p would have been
p=0x00000004 then this would increase the pointer by 4.
| Is This Answer Correct ? | 6 Yes | 0 No |
What is the difference between arrays and pointers?
swapping of two numbers without using third variable using AND and OR operators
Is it possible to create recycle bin in mobiles?
explain memory layout of a C program
program for comparing 2 strings without strcmp()
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.
What is p in text message?
Why c is called free form language?
Function calling procedures? and their differences? Why should one go for Call by Reference?
which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....
How does struct work in c?