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

How can you determine the maximum value that a numeric variable can hold?

633


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

678


Differentiate between new and malloc(), delete and free() ?

666


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

648


What is context in c?

537






Is int a keyword in c?

552


What is a #include preprocessor?

612


What language is windows 1.0 written?

571


How to delete a node from linked list w/o using collectons?

2085


What do you mean by a local block?

627


What are structure types in C?

662


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

1731


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

1708


What does the && operator do in a program code?

695


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

667