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
Index of an Array containing 'n' aliment varies from________to_______
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
what kind of questions generally asked for ME admission, (specially in RGPV).
What were the most energizing/enjoyable aspects of your job in this given period?
real time examples for basic concepts in oop
what are the artifacts in coding phase in SDLC????
c ka base kya hota hai? what is communication?
IS THE SAMPLE POINT OF LPG SPHERE TANK PEFOR OR AFTER BUMP?
Explain the following program segment. f(){ int *b; *b=2; }
How do aeroplanes fly? Why can some fly up-side down?
what is c dot
what are differences between composition and inheritance in c
WHAT IS DIFFERENT BETWEEN YOU AND OTHER APPLICANT TO GIVE YOU THE JOB
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.
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.