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

How does free() know explain how much memory to release?

1057


Explain what is wrong with this program statement? Void = 10;

1267


What are file streams?

1020


code for quick sort?

2039


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1179


Explain a file operation in C with an example.

1121


What are keywords c?

1032


Explain which function in c can be used to append a string to another string?

1092


Differentiate between a for loop and a while loop? What are it uses?

1188


Why is python slower than c?

1091


What are the types of data structures in c?

1156


What do you mean by c what are the main characteristics of c language?

1034


What are local static variables? How can you use them?

1151


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1071


What is the use of putchar function?

1058