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

I have written some code of my project in java technology & some code in .net technology. Is it possible to integrate these into single project(module) to run complete project..?? if possible then how??

1 Answers  


WAP in Java to print the format A B A B C D E D E

0 Answers  


explain bug tracking system in detail.

0 Answers  


If any kind of accident happen without any information to any one .what kind of action we have to take

0 Answers  


How many of 14 digit numbers we can make with 1,2,3,4,5 that are divisible by 4. Repetitions allowed.

0 Answers  






10. Each alphabet stands for one digit in the following multiplication. T H I S x I S --------- X F X X X X U X ------------ X X N X X ------------ What is the maximum value T can take?

4 Answers   eLitmus, Infosys, Verchaska,


How do an incremental process model and certification work together to produce high quality software? In your own words, describe the intent of certification in the clean room software engineering context.

0 Answers  


What experience do you have in RMA?s (returned material authorizations?)

0 Answers  


to print greatest of two integers without using >,<,=.

0 Answers  


what are the different types of database servers

0 Answers   IBM,


What is the purpose of dampening roller

0 Answers  


i want to knw about what is lead,survey, oppertuinty , questionary,sales order,quotation,marketng conecpts in deatil and how it works in SAP CRM. Please send to my email- id as soon as possible. Thanks in Advance . :) nimi.nimisha1@gmail.com

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)