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
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 |
which is best car to buy in india, if the budget is below or equal to 3.5 lakhs?
Please send me Sample papers National Informatics Centre (NIC) Programmer. I am giving this paper first time..so if any one have previous question papers send to manoj200.yadav@gmail.com. thnx in advance
what does the interviewer mean by saying "have a good life " cheerfully at the end of an HR interview??? is this positive or negative sign to be selected?
hi this is amit..please help me to out this problem Objective 8: Create Resources (Function libraries) Requirements: Create a new order with the Flight Reservation application. 33. Use the script created above. 34. Write a function using VBScript that will take a date as an input and add 10 to it. i.e. if the date is passed as “15/08/2008” then after adding 10 it should become as “25/08/2008” 35. Use this function to parameterize the step used to enter “Date of Flight” 36. Run the pack thanx & regards
I am getting the following error,when I am running the script, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. My Script: Itemname=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Print Itemname Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").Select "Itemname" Any Help? Thanks, Uma
Write a program in ‘C’ that will accept 10 numbers from the user, sort them & then perform the binary search. The searching number will be arithmetic mean of the 10 numbers accepted from the user. Write the sort() & binSearch() functions for performing the sorting & binary search. Also create display function() for displaying the list. Sort() function will use selection sort and only receive one argument (Single char type)as type of sorting i.e. ascending (a) or descending (d). Display the list after sorting using a display() function. binSearch() function will accept one argument as a number to be search & return null or the index position of that number in the array. display() function is non argument non return type function. It will simply display the list row-wise. Program should use these functions by displaying the appropriate message for found or not found.
what is difference between class and object in c++
if your monitor is not started with your cpu, but start when monitor attach to another cpu then where is the problem?
operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system
How to write C++ files programs?
i am studying mechanical third year.. i like to do one year marine bridge course.. my question is . is there good oppourtunites for us (mecanical eng)? and tell about the salary
what is difference between .dll and .exe files?