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...

main()
{
int a = 65;
printf(“%d %o %x”,a,a,a);
}

Output
65 101 41

Please explain me.How it is coming like that?

Answer Posted / neha

It prints the value of in decimal, octal, hexadecimal
format respectively.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of a union variable?

1053


Explain what is the advantage of a random access file?

1122


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1376


How many types of arrays are there in c?

1045


What is the use of extern in c?

1092


Are pointers integers in c?

1073


Explain what is the difference between a free-standing and a hosted environment?

1184


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1586


What is the use of getchar functions?

1183


How can I dynamically allocate arrays?

1097


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

1158


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1009


What is f'n in math?

1067


What does *p++ do? What does it point to?

1063


what is the function of pragma directive in c?

1120