Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

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

Post New Answer

More C Interview Questions

What does %d do in c?

0 Answers  


How to declare pointer variables?

0 Answers  


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

0 Answers  


what is ans for this scanf(%%d",c);

1 Answers  


#include <stdio.h> int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..

3 Answers  


What are the 4 data types?

0 Answers  


print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1

1 Answers   Winit,


main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,


Explain how can I read and write comma-delimited text?

0 Answers  


Explain what’s a signal? Explain what do I use signals for?

0 Answers  


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

0 Answers  


What are linked lists in c?

0 Answers  


Categories