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...


#include
main()
{
int *p, *c, i;
i = 5;
p = (int*) (malloc(sizeof(i)));
printf("
%d",*p);
*p = 10;
printf("
%d %d",i,*p);
c = (int*) calloc(2);
printf("
%d
",*c);
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

0 Answers  


How can I ensure that integer arithmetic doesnt overflow?

0 Answers  


Why does the call char scanf work?

0 Answers  


What is scanf_s in c?

0 Answers  


why we are using semicolon at the end of printh statment

2 Answers   HCL,


What is && in c programming?

0 Answers  


What is C language ?

0 Answers   Jekson,


Which header file should you include if you are to develop a function which can accept variable number of arguments?

0 Answers   TCS, TISL,


Explain data types & how many data types supported by c?

0 Answers  


What is the use of sizeof () in c?

0 Answers  


How do you override a defined macro?

0 Answers  


how is the examination pattern?

0 Answers   Wipro,


Categories