Want this question answered?
Be notified when an answer is posted
Chat with our AI personalities
400 or so
value is based on overall condition............
1969
trying to find out how much this refrigerator is worth.
Impossible to answer without more information. Could be 100-10000 USD
Impossible to answer without a detailed description
No way to tell.
The one i bought at a gunshow today was 200-250 dollars.
Consider the code that follows. In the main() function we declare an integer, num, and initialise it to the value 100. We then call three separate functions which accept num as an argument, first by value, then by reference, and finally by pointer. In each case we double the value of the parameter to show the effect it has upon num itself.Note how the PassByValue function makes a copy of num. We know this because the parameter val has a completely different memory address to that of num. This means that anything we do to val will not affect num.However PassByRef passes num directly because refis a reference to num (they both refer to the same memory address). Thus anything we do to ref we actually do to num. Thus num is doubled when we double ref.Finally, PassByPtr proves that pointers are just variables that are passed by value, because ptr has its own memory address allocated to it. The value stored in this memory address is the memory address of num. Dereferencing this memory address shows us the value of num. Thus doubling the dereferenced value of ptr doubles the value of num.#include void PassByVal( int val ){printf( "PassByVal(int val)\taddress of val: 0x%.8x, value of val: %d\n" , &val, val );val *= 2;}void PassByRef( int & ref ){printf( "PassByRef(int & ref)\taddress of ref: 0x%.8x, value of ref: %d\n" , &ref, ref );ref *= 2;}void PassByPtr( int * ptr ){printf( "PassByPtr(int * ptr)\taddress of ptr: 0x%.8x, value of ptr: 0x%.8x, dereferenced value of ptr: %d\n" , &ptr, ptr, *ptr );*ptr *= 2;}int main(){int num = 100;printf( "main()\t\t\taddress of num: 0x%.8x, value of num: %d\n" , &num, num, );PassByVal( num );printf( "main()\t\t\taddress of num: 0x%.8x, value of num: %d\n" , &num, num );PassByRef( num );printf( "main()\t\t\taddress of num: 0x%.8x, value of num: %d\n" , &num, num );PassByPtr( &num );printf( "main()\t\t\taddress of num: 0x%.8x, value of num: %d\n" , &num, num );}
#include<stdio.h> #include<conio.h> int main () { int num; printf("enter the number"); scanf("%d",&num); if(num<0) num=(-1)*num; printf("absolute value=%d",num); getch(); return 0; }
The gun was made in 1959
// num = the highest number to start with final int num = 5; // Go through each value from num through 1. for (int n = num; n > 0; --n) { // For each value, print each value from num all the way down to the value. for (int m = num; m >= n; --m) { System.out.print(m); System.out.print(' '); } }