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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want a program in c# for 100 or for a number greater than 100.....pls help

1456


where is the first vidhyalaya of physically handicaped

1454


I have completed my B.E with (CSE) computer science and engineering ,i had a total no of backlogs=20 ,is there any chances to get the visa PLEASE HELP ME NE1 : MY ID=john_searchig143@yahoo.com .

1435


I am helping a friend to design a concert hall. No need for super architectural show off. Just a rectangular box. Knowing that in my country constructions are done with reinforced concrete and concrete blocks and that the hall's dimensions are, length: 75 meters, width: 32m height: 9m, and that there should not be any columns inside, what would be the size of the columns, beams and roof slab ?

1289


what is difference between value datatype and object datattype

1386






what is the need of constractor explain with sutable progarmming example

1430


Which is better field cad/cam in mechanical or film editing/animation is better salary wise?

1431


Calculate the interstage pressure ratio per stage for a two stage compressor if the overall pressure ratio is 10.

1448


hi friends, i got selected in tcs, i m doing my b.e in one of the college in coimbatore.. i don have questions to post u.. but i have valid suggestion..its waste to prepare apti for tcs by looking at last 10 year question from internet.they changed all the apti question this year(2009).. but apti questions is easy..prepare critical reasoning for gre 12th edition..mug up the answers in critical reasoning.. u can download ebook for gre 12th edition..solve the critical reasoing question at the same time mug up it.. there were totally 3 critical reasoning question asked.. two for gre 12th edition so if u mug up u can finish two questions in 3 min.. so u will have 27 min for other question so u can work it out and find the ans..above i mentioned as 3 questions tat is 3 question means ,three paargraph.. each para carries 4 question so totally 12 question in critical reasoning.. if u clear all 12 question u will be selected.80% percent sure.then don mug up synonyms from gre barron because they are asking same question from barron but the choice for the questions are changed.. so study synonyms and antonyms from internet.. some pupils have posted the questions.. in tech and h r don use complex word or don show tat u r so dminant.. talk with them how u will speak wit ur friend. u will be through.. don think wat i have posted above is lik some info in other site.. wat i said is true.. they changed apti tis time.. u will be selected if u follow wat i said..again i m saying pls concentrate on critical reasoning.. if all questions in it are right u r through..bye

3275


3. Tell me about a time when you had too many things to do and you were required to prioritize your tasks.

1562


please send aptitude test papers for reference with answers

1261


How would Nvidia increase the core clock speed anymore?

1619


how to send request to the direct server rather than proxy server

1474


Qatar petroleum will call me for an technical phone interview as safety officer Please let me know what kind of question they asked ? any idea about this written test ?

6006


If there's any possiblity for the Enginnerring graduates, Who had backlogs in there acedmic to get a Good MNC job?

1325