what is the Output?
int a=4 b=3;
printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++);

printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);

Answer Posted / vinod kumar

in fedora it is giving
91076104
-2-1-31-3-3

but dont know how

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pointer and how it is initialized?

603


What is return type in c?

635


4. main() { int c=- -2; printf("c=%d",c); }

1364


Can the “if” function be used in comparing strings?

584


What is the difference between a function and a method in c?

554






What is p in text message?

535


Define circular linked list.

565


What is 1d array in c?

597


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1562


Who invented bcpl language?

698


How can I remove the leading spaces from a string?

626


When should you not use a type cast?

655


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

916


Why is extern used in c?

610


How can you be sure that a program follows the ANSI C standard?

1123