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
How can you determine the maximum value that a numeric variable can hold?
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)
Differentiate between new and malloc(), delete and free() ?
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
What is context in c?
Is int a keyword in c?
What is a #include preprocessor?
What language is windows 1.0 written?
How to delete a node from linked list w/o using collectons?
What do you mean by a local block?
What are structure types in C?
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.. :(
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What does the && operator do in a program code?
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