What is the output of the following? - ProProfs Discuss
Advertisement

What is the output of the following?

Void main() { int a=10,b; b= a++,+,++a; printf ("%d%d%d%d",b,a++,a,++a); }

Asked by Akankshaporwal, Last updated: Mar 13, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

J. Alva

J. Alva

J. Alva
J. Alva

Answered Nov 14, 2019

The output will be 22 13 14 14 if the code is executed. Programming is considered to be important in people’s daily lives, although most people do not realize just how their life is affected by programming. It is through the development of the programming language that computes and other gadgets are improved. What used to be unavailable in the past are now readily available now.

Programming can also be effective in speeding up different machines because they will help in collecting and automating different types of data. The more accurate the programming is, the better that certain processes will work.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.