Hi I've recently picked up my programming studies after having laid them aside for a several years, so I'm still a beginner. I recently purchased and have enjoyed working through a book/CD combo by Dietel + Dietel on C++ and I also have copy of a lite version of VisualC++ v6. I have also been going through some old course materials and plan to get back to creating simple console programs for Windows 3.1 on my old PC using my old Borland TurboC++ 4.5 compiler for fun, and as a sort of a basic concept "lab class", which brings me to this: Lately, I've been struggling with an issue with regard to functions... I came upon an old test question in my old course materials that frankly, has me stumped. Maybe it's because it was really a trick question. I've read and re-read my old text book and other more recent C++ books, I've searched this web forum and others, I've looked for C++ tutorials that would clarify my thinking on functions, but I've not been able to understand what the output, if any, of the code example would be. I've recreated the code below (it only vaguely resembles the original). #include <iostream.h> void beezer(int b, int z) { b = 3; z = z + b; cout << "beezer: b " << b << endl; cout << "beezer: z " << z << endl; } int main( ) { int b = 9; int z = 18; beezer(b, z); cout << "main: b + " << b << endl; cout << "main: z + " << z << endl; } Me, to avoid confusion, I wouldn't have used the same identifiers in both the "beezer" function and the main. And I don't think I quite understand how z can be initialized with z + b when z hasn't been initialized. Unless you can use the values in main...OK, I MIGHT understand, but which "b" do you use?? Anyway, maybe the point was that C++ could, in fact, run the code, and if I understood functions and calls properly, I'd know what the output would be anyway...even with the code written as it is. Bottom line: what would the output of this code be, if any? I have guessed such things as : 3, 3 AND 9, 18 ...but I don't know. Would you consider offering a helping hand when you find a minute? I feel as though I understand the basics of functions when clearly written, but when it comes to this particular code, I can't figure out how in the world it would ever work! I feel that knowing the answer to this might give me a deeper understanding of the basics of functions and calls and I certainly don't want to stumble ahead without having a clear understanding and good foundation of the LAWS of the function and the call. Can you help?