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

1)what is output for the following program.
#include<stdio.h>
main()
{
int *p,*q,i;
p=(int *)100;
q=(int *)200;
i=q-p;
printf("%d",i);
}
a)100 b)25 c)0 d)compile error

Answer Posted / pritesh

25 In cfree(4 BITS FOR INT)
50 in TC(2 BITS FOR INT)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Index of an Array containing 'n' aliment varies from________to_______

2045


i am shortlisted in corporation bank for the post of computer officer the next phase is group discussion. i want to know how to prepare and what about the topics for preparing thanking you if you have any suggestion please give me prabhatmishra21@rediffmail.com

2545


what kind of questions generally asked for ME admission, (specially in RGPV).

2059


What were the most energizing/enjoyable aspects of your job in this given period?

6431


real time examples for basic concepts in oop

1641


what are the artifacts in coding phase in SDLC????

2102


c ka base kya hota hai? what is communication?

5242


IS THE SAMPLE POINT OF LPG SPHERE TANK PEFOR OR AFTER BUMP?

2110


Explain the following program segment. f(){ int *b; *b=2; }

2449


How do aeroplanes fly? Why can some fly up-side down?

1023


what is c dot

1916


what are differences between composition and inheritance in c

1561


WHAT IS DIFFERENT BETWEEN YOU AND OTHER APPLICANT TO GIVE YOU THE JOB

2159


Hi I am Krushna.I have already applied for PO post in Syndicate Bank.Can anybody send me the sample paper for Syndicate bank PO.

1767


I think it is 65% in 10th, 12th n BE with a 5% relaxation in any one. For west bengal bord..what will be simple average for HS...is the additional marks would be adde with 100+200=1200.and the the average will be done. OR it will be treated 65% if somebody gets 650 in HS.? Please reply for this question......... And what is the marks criteria for infosys for experienced employee.

2218