Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (christos):

C++ Can you please give me some simple function problems where I have to identify the error?

OpenStudy (e.mccormick):

``` #include <iostream> using namespace std; /* This program shows the difference between * signed and unsigned integers. * Expected output: * -15536 50000 */ int main() { short int i; // a signed short integer short unsigned int j; // an unsigned short integer j = 50000; i = j cout << i << " " << j; return 0; } ``` I could go through and make more of those, but it might be more instructive to see what other coders are doing. If you go to the forums on this site, it could be a great place to look: http://www.cplusplus.com/forum/beginner/ Lots of low end C++ programming going on there, mistakes included. Look for the errors and see what other people say and find. That way you can see if you can identify the same mistakes or if you can understand the explanations given.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!