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

but when we compile this code in editor it shows the output
22 21 21 20 .

whts wrong then ?

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Simplify the program segment if X = B then C ← true else C ← false

2964


find out largest elemant of diagonalmatrix

2175


Compare array data type to pointer data type

969


write a program in c language to print your bio-data on the screen by using functions.

6735


Why is it that not all header files are declared in every C program?

1151


What are control structures? What are the different types?

1043


When should the const modifier be used?

1062


When a c file is executed there are many files that are automatically opened what are they files?

1040


How do you view the path?

1078


Whats s or c mean?

952


What are dangling pointers in c?

1123


Why does everyone say not to use gets?

1029


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

1088


Describe explain how arrays can be passed to a user defined function

1042


How we can insert comments in a c program?

1073