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

i am agree with yognesh , ,

when u compile this is C it gives 22 21 21 20 . .

check it out ..

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the correct declaration of main?

1219


Explain what are multidimensional arrays?

1083


What is a static variable in c?

1138


What is the value of h?

1049


What are the advantages of using linked list for tree construction?

1104


Create a simple code fragment that will swap the values of two variables num1 and num2.

1298


What is volatile, register definition in C

1115


What is meant by int main ()?

1218


Is flag a keyword in c?

1165


why we wont use '&' sing in aceesing the string using scanf

2379


Why we use stdio h in c?

1050


What are keywords in c with examples?

1096


what is bit rate & baud rate? plz give wave forms

1989


What is the easiest sorting method to use?

1184


will u please send me the placement papers to my mail???????????????????

1847