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



1)what is output for the following program. #include<stdio.h> main() { int *p,*q,i; p=(i..

Answer / 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

More Engineering AllOther Interview Questions

what is e-bum.

0 Answers   TCS,


I am about to face the interview panel of Indian army for UES(for more details put this address http://www.freshershome.com/jobs/index.php?post_id=15715) This is basically a post for engineering job in Indian army? This is an on campus interview. Kindly help me out with some tips or the type of questions I am about to face. Thanks.

5 Answers   Indian Army, Indian Military Services, Infosys, Military Engineer Services, UES,


HOW CAN YOU RELATE THE FUNCTION WITH STRUCTURE EXPLAIN WITH APPROPRIATE EXAMPLES

0 Answers  


Is there any difference between the concepts of encoding,decoding and encryption and decryption?

0 Answers  


explain bug tracking system in detail.

0 Answers  






i m a student of 4th year ,i m unable to get the embassy appointment dates , and it details.............please help any body.My id=john_searching143@yahoo.com

0 Answers  


i want to know ,If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits.

0 Answers   Microsoft,


i have studied my Btech up to 5years, is any problem with duration of the year.if the us embassy interviewer ask me why you have got 5 years to complete your btech,can you please give me answer.And i got less percentage.

1 Answers   US Consulate,


how can i install windows-xp operating system in single time to 50 computersconnected in a LAN.

0 Answers   Bank Of America,


How many codes are used when u design a Pressure Vessel

0 Answers  


Based on the Job Description above, please indicate in details why you are a good match for this position?

0 Answers  


95) func(a,b) int a,b; { return( a= (a==b) ); } main() { int process(),func(); printf("The value of process is %d ! ",process(func,3,6)); } process(pf,val1,val2) int (*pf) (); int val1,val2; { return((*pf) (val1,val2)); please help me in detail ....with flowchart

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)