what is the output in a c program?


Kirti    Fri Mar 22 19:22:52 IST 2013


union u 
{ 
struct st 
{ 
int i : 4; int j : 4; int k : 4; int l; 
}
st; int i; 
}
u; main()
 {
 u.i = 100; 
printf("%d, %d, %d",u.i, u.st.i, u.st.l); }


Reply By- Anoop kumar awasthi    Fri Mar 22 22:49:26 IST 2013


The output of this program is 100,4,0 . Because first "i" is the variable inside in union so we use it by union reference and second struct reference is access by union reference and struct reference call the i inside of struct. The value of l is print 0 because the variable declared inside of struct bydefault 0.


Reply By- cafergot    Tue Jan 17 14:58:40 IST 2017


cafergot,


Reply By- metformin er    Tue Jan 17 15:43:23 IST 2017


metformin,


Reply By- read more here    Tue Jan 17 16:29:09 IST 2017


methotrexate ectopic,


Reply By- proscar 1mg    Tue Jan 17 16:38:14 IST 2017


proscar,


Reply By- cleocin    Tue Jan 17 18:15:51 IST 2017


cleocin,


Reply By- medrol    Tue Jan 17 19:00:21 IST 2017


buy medrol,


Reply By- cheap tretinoin    Tue Jan 17 19:35:16 IST 2017


tretinoin cream generic,


Reply By- nolvadex    Tue Jan 17 19:52:25 IST 2017


where to buy nolvadex,


Reply By- doxycycline hyclate 100mg    Tue Jan 17 21:59:50 IST 2017


doxycycline 40 mg,


Reply By- valtre    Tue Jan 17 22:26:53 IST 2017


how can i get valtrex,


Reply By- indocin    Tue Jan 17 22:44:42 IST 2017


indocin,


Reply By- billigt viagra    Tue Jan 17 23:30:43 IST 2017


cialis,


Reply By- provera    Wed Jan 18 03:21:59 IST 2017


provera 2.5mg,


Reply By- zoloft online order    Wed Jan 18 03:42:52 IST 2017


learn more here,


Reply By- tretinoin cream purchase    Wed Jan 18 04:24:10 IST 2017


tretinoin cream .025,


Reply By- rogaine buy    Wed Jan 18 04:32:56 IST 2017


rogaine,


Reply By- azithromycin    Wed Jan 18 05:07:45 IST 2017


azithromycin 500mg treatment,


Reply By- cialis    Wed Jan 18 06:08:04 IST 2017


cialis cost,


Reply By- buy cheap nolvadex online without prescription    Wed Jan 18 06:43:53 IST 2017


nolvadex tablet,


Reply By- tamoxifen    Wed Jan 18 09:05:04 IST 2017


tamoxifen,


Reply By- albuterol    Wed Jan 18 11:03:43 IST 2017


visit your url,


Reply By- medrol 16mg    Wed Jan 18 11:12:31 IST 2017


medrol,


Reply By- cialis 10 mg    Wed Jan 18 11:47:19 IST 2017


10 mg cialis,


Reply By- generic of effexor    Wed Jan 18 11:56:39 IST 2017


effexor,


Reply By- generic for keflex    Wed Jan 18 12:17:07 IST 2017


as explained here,


Reply By- retin a micro 0.04    Wed Jan 18 14:17:32 IST 2017


buy retin-a,


Reply By- lasix    Wed Jan 18 14:34:37 IST 2017


lasix,


Reply By- sildenafil citrate 100mg tablets    Wed Jan 18 14:43:30 IST 2017


sildenafil,


Reply By- tamoxifen    Wed Jan 18 15:01:27 IST 2017


tamoxifen citrate,


Reply By- neurontin 600 mg    Wed Jan 18 15:10:20 IST 2017


neurontin,


Reply By- cipro    Wed Jan 18 16:21:25 IST 2017


ciprofloxacin 500 mg with out prescription,


Reply By- robaxin muscle relaxant    Wed Jan 18 17:21:33 IST 2017


robaxin/methocarbamol 500mg,


Reply By- diclofenac gel    Wed Jan 18 18:13:23 IST 2017


diclofenac,


Reply By- erythromycin 500    Wed Jan 18 20:58:45 IST 2017


erythromycin,


Reply By- crestor    Wed Jan 18 21:16:05 IST 2017


crestor,


Reply By- where to buy viagra online safely    Wed Jan 18 21:24:47 IST 2017


where to buy viagra online safely,


Reply By- prednisone 60 mg    Wed Jan 18 21:50:39 IST 2017


prednisone 60 mg,


Reply By- cost of buspar    Wed Jan 18 23:27:10 IST 2017


buspirone price,


Reply By- clindamycin    Thu Jan 19 00:01:47 IST 2017


clindamycin,


Reply By- augmentin 500 mg    Thu Jan 19 00:35:47 IST 2017


augmentin,


Reply By- vpxl    Thu Jan 19 00:44:01 IST 2017


citation,


Reply By- buy ampicillin    Thu Jan 19 01:37:28 IST 2017


ampicillin,


Reply By- tadalafil 20mg    Thu Jan 19 02:21:43 IST 2017


tadalafil 20mg,


Reply By- retin-a    Thu Jan 19 03:30:34 IST 2017


retina a,


Reply By- buy allopurinol online    Thu Jan 19 03:38:52 IST 2017


allopurinol,


Reply By- read full article    Thu Jan 19 03:56:12 IST 2017


more about the author,


Reply By- buy clomid    Thu Jan 19 04:40:09 IST 2017


full report,,


Reply By- strattera    Thu Jan 19 04:48:48 IST 2017


strattera pills,


Reply By- metformin    Thu Jan 19 05:14:54 IST 2017


metformin,


Reply By- fureosinomide    Thu Jan 19 06:35:46 IST 2017


furosemide 20 mg tab,