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

Can one function call another?

0 Answers  


What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?

2 Answers  


What is the use of a semicolon (;) at the end of every program statement?

1 Answers  


macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration

12 Answers   HCL, Infosys, Microsoft,


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

0 Answers  


Tell me when would you use a pointer to a function?

0 Answers  


who is the editor of 'pokemon'?

1 Answers  


Can anyone tell what is stack overflow? what precaution we should take?

1 Answers  


Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

0 Answers  


How we can write a value to an address using macro..?

0 Answers   Tata Elxsi,


Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }

3 Answers   IBM,


What are the back slash character constants or escape sequence charactersavailable in c?

0 Answers  


Categories