main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}

Answer Posted / aru

x=55
y=92
ie; x= 35 + 20
ie; x=55;
then y= 56 +36
ie; y=99

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of void pointer and null pointer in c language?

633


What is a built-in function in C?

799


What does void main () mean?

738


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

628


What are the differences between new and malloc in C?

612






What is the purpose of sprintf() function?

607


Why malloc is faster than calloc?

594


What is logical error?

605


What is pass by reference in functions?

327


Is c compiled or interpreted?

670


What are the advantages and disadvantages of c language?

567


Write a C program in Fibonacci series.

639


Which is better malloc or calloc?

656


What is "Hungarian Notation"?

639


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1732