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

Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1009


what is the role you expect in software industry?

2154


Why main is used in c?

1082


What is difference between static and global variable in c?

1066


What is the use of a static variable in c?

1064


What is auto keyword in c?

1210


Add Two Numbers Without Using the Addition Operator

833


How can you read a directory in a C program?

1152


What are the string functions? List some string functions available in c.

998


pierrot's divisor program using c or c++ code

2247


What is a program flowchart and how does it help in writing a program?

1150


What is the most efficient way to count the number of bits which are set in an integer?

1069


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2438


What is the full form of getch?

1287


What does the file stdio.h contain?

1074