Ask your own question, for FREE!
Computer Science 12 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!
Latest Questions
Breathless: Spooky witch but cute
5 hours ago 3 Replies 0 Medals
Arriyanalol: help
5 hours ago 10 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
1 day ago 5 Replies 4 Medals
Jaded012023: Please tell me what you all think of this song
8 hours ago 6 Replies 1 Medal
Arriyanalol: bro how
8 hours ago 2 Replies 3 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
1 day ago 12 Replies 2 Medals
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!