write the output for yhe given program
int a=5;
void main()
{
int a=9;
printf("%d",a);
}
printf("%d",&a);

Answers were Sorted based on User's Feedback



write the output for yhe given program int a=5; void main() { int a=9; printf("%d",a)..

Answer / email

9 5

Is This Answer Correct ?    6 Yes 3 No

write the output for yhe given program int a=5; void main() { int a=9; printf("%d",a)..

Answer / ryan

cant call a function outside of all functions, won't compile
if it did
9, unknown address of global 'a' as a signed integer

Is This Answer Correct ?    2 Yes 0 No

write the output for yhe given program int a=5; void main() { int a=9; printf("%d",a)..

Answer / anusha

9

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Engineering AllOther Interview Questions

how to find out the name of the users who are currently working starting with the same characters in unix os

0 Answers  


Name a accredited or govt approved university which have 100% online engineering course

0 Answers  


operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system

0 Answers  


what is multiple inheritance

1 Answers  


Can u send me a sample Final year CSE student 'RESUME' for campus placement to following mail id: aspnetworks@gmail.com

0 Answers  


Write steps of retrieving data using ado.net?

0 Answers  


What is smoke testing?

1 Answers  


I am student pursuing B.E/B.tech in Computers 8'th sem.What should i do for a better carrier.Plz suggest other than programming languages.Is the ERP a better one to do?plz help...

0 Answers  


Give a brief description of the following terms: a) Play head b) Symbol c) Tweening d) ActionScript e) Frame rate f) Library panel g) Masking h) Context – sensitive Property Inspector i) Bandwidth Profiler j) Frame Label

0 Answers  


hi this is padhu i just want to know about remote sensing scientist in ISRO, will there a written test or not if there are any model test papers plz post it.

1 Answers  


What is the difference between a .PST file and a .OST file?

0 Answers   BMS,


write program which accept information about 5 student & display same information according to ascending order of their name??

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • 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)