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 entry control and exit control statement?
12 Answers Darbari Lal DAV Model School,
How can I read data from data files with particular formats?
Explain how can you be sure that a program follows the ansi c standard?
write a program to find the frequency of a number
what is the difference b/w NULL and null?
writ a program to compare using strcmp VIVA and viva with its output.
write a program in c language that uses function to locate and return the smallest and largest integers in an array,number and their position in the array. it should also find and return the range of the numbers , that is , the difference between the largest number and the smallest.
What are preprocessor directives in c?
Do array subscripts always start with zero?
program to print upper & lower triangle of a matrix
What is floating point constants?
What is Bitwise Operator and how it works?