Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / pratik.nikam3112

answer is

22 21 21 20

Is This Answer Correct ?    38 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

2107


What is difference between main and void main?

1285


What are integer variable, floating-point variable and character variable?

1295


How can I find the modification date of a file?

1336


What is the process of writing the null pointer?

1057


can we implement multi-threads in c.

1173


Is there a built-in function in C that can be used for sorting data?

1338


What is the explanation for modular programming?

1267


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2176


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2403


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2622


What is the difference between new and malloc functions?

1177


Explain modulus operator. What are the restrictions of a modulus operator?

1057


Explain what is a 'locale'?

1126


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

2010