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

20212120 is the write answer because there is no space between
specified data type %d

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define VARIABLE?

1154


How do you convert strings to numbers in C?

1213


Why we use stdio h in c?

1015


Do you know the use of fflush() function?

1049


What is methods in c?

1067


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1301


What are different types of operators?

1025


Explain why C language is procedural?

1207


Is Exception handling possible in c language?

2034


C language questions for civil engineering

1699


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3816


What is the general form of a C program?

1014


How can you increase the size of a dynamically allocated array?

1170


How can I do serial ("comm") port I/O?

1168


Why isnt any of this standardized in c?

1058