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 / lingaraja.d

5,5,5,5,5,5 2,2,2,2,2,2

Is This Answer Correct ?    3 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1721


Under what circumstances does a name clash occur?

684


what do u mean by Direct access files? then can u explain about Direct Access Files?

1636


What is the difference between fread and fwrite function?

632


What is %d called in c?

752






What does %d do?

710


What is an lvalue in c?

690


Why do some versions of toupper act strangely if given an upper-case letter?

627


Write a program of prime number using recursion.

612


Can we increase size of array in c?

534


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3687


Are bit fields portable?

669


Explain a file operation in C with an example.

654


How to find a missed value, if you want to store 100 values in a 99 sized array?

810


What is wrong with this initialization?

584