WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW
IT COME ..

#include<stdio.h>
#include<conio.h>
void main()
{
int k=20;
printf("%d%d%d%d",k,k++,++k,k);
getch();
}

Answer Posted / balug

22 21 21 20

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1442


Who invented b language?

911


Explain what is the best way to comment out a section of code that contains comments?

710


Explain the difference between ++u and u++?

633


List a few unconditional control statement in c.

555






Explain the use of 'auto' keyword

673


explain what are actual arguments?

630


How will you divide two numbers in a MACRO?

705


What are the similarities between c and c++?

593


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1481


Why does everyone say not to use gets?

603


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

805


What is the process to generate random numbers in c programming language?

604


How was c created?

586


What is meant by initialization and how we initialize a variable?

581