Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Please explain the o/p

Posted on 2006-03-19
2
Medium Priority
?
194 Views
Last Modified: 2010-04-15
main()
{
  long i;
  i = 65536 + 300;
  printf("%d....%d", i);
  getch();
}
Please explain the o/p:

o/p: 65836....2012780960 in Vc++ env.
0
Comment
Question by:arijit_rebaca
  • 2
2 Comments
 
LVL 12

Accepted Solution

by:
rajeev_devin earned 60 total points
ID: 16233414
>> o/p: 65836....2012780960 in Vc++ env.
The second one is garbage. Could be anything.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question