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 |
How many types of errors are there in c language? Explain
What are variables and it what way is it different from constants?
palindrome for strings and numbers----Can anybody do the prog?
6 Answers CTS, TCS, Vipro Lifescience Pvt,
What is meant by int main ()?
For what purpose null pointer used?
is it possible to change the default calling convention in c ?
What does *p++ do? What does it point to?
Is linux written in c?
What are bit fields? What is their use?
What are the types of c language?
int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain me output????
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case