void main()
{
int i=5;
printf("%d",i++ + ++i);
}
Answer Posted / abhijeet dongre
I HAVE PRACTICED MANY ASPECTS OF THESE QUESTIONS
THING IS THAT
PRINTING VALUES IS FROM RIGHT TO LEFT.
SOLVING AN EXPRESSION IS FROM LEFT TO RIGHT.
SOME SAMPLE OUTPUTS:-(TRY IT)
int i=5;
printf("%d",i++ + ++i); 12(5+7 only)(not 6+6)
int i=5;
printf("%d",i++ * ++i); 35(5*7 only)(not 6*6)
int i=5;
printf("%d %d",i++ + ++i,i); 12 5
int i=5;
printf("%d",i++ + i++); 11 7
printf(" %d",i);
Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
Write a function that will take in a phone number and output all possible alphabetical combinations
What are data types in c language?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Explain what is the difference between functions abs() and fabs()?
What is the right way to use errno?
What is calloc malloc realloc in c?
What are the 32 keywords in c?
What is %s and %d in c?
Write a C program to count the number of email on text
Write a progarm to find the length of string using switch case?
Explain how can I right-justify a string?
What is zero based addressing?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
Describe newline escape sequence with a sample program?