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 / balasankararao

my answer is
22 21 21 20

if it is wrong why?

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I open a file so that other programs can update it at the same time?

1175


How can I discover how many arguments a function was actually called with?

1112


how do you execute a c program in unix.

1157


What does %c mean in c?

1137


What is a lvalue

1146


What is sizeof array?

1106


What is time null in c?

1108


What library is sizeof in c?

1140


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2145


Here is a good puzzle: how do you write a program which produces its own source code as output?

1168


Discuss the function of conditional operator, size of operator and comma operator with examples.

1208


Sir i need notes for structure,functions,pointers in c language can you help me please

2459


Is c weakly typed?

1071


Difference between macros and inline functions? Can a function be forced as inline?

1349


What is queue in c?

1154