Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on what will be the output? within the C and C++ forums, part of the Software Development category; x=5 y=++x * ++x what will be the value of y?...
|
|||||||
|
|||
|
the value is assigined only in left side
a=5; b= 7*7; b=49 b=++a*++a; *(7); (7) b=7*7; b=49; |
|
|||
|
Re: what will be the output?
hi amar. answer is 49 bcz firstly ++ operates two times so x becomes 7 and then 7*7=49
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is a output?. How will Come?. | Golda | C and C++ | 28 | 10-03-2009 08:21 AM |
| First output value is getting overwritten by second output | Geek_Guest | QTP | 2 | 01-05-2008 04:40 AM |
| How many records in output | Geek_Guest | SQL | 7 | 11-10-2007 01:30 AM |
| Output Value | bharathi_ark | Testing Issues | 5 | 12-27-2006 07:13 AM |
| Output Functions | RyanJames | C and C++ | 5 | 12-20-2006 03:10 AM |