int main()
{
int x = (2,3,4);
int y = 9,10,11;
printf("%d %d",x,y);
}
what would be the output?

Answer Posted / kalyan chukka

in This Given x=(2,3,4) which takes priority from left->right
and given y=9,10,11 So in This it takes priority from right
-> left so answers are

X=4
Y=9

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between void main and main in c?

626


Are the outer parentheses in return statements really optional?

580


Is c compiled or interpreted?

670


The difference between printf and fprintf is ?

720


What is a pointer in c plus plus?

698






Explain how do you print only part of a string?

652


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

817


How can I pad a string to a known length?

614


Is null always defined as 0(zero)?

617


What is the purpose of 'register' keyword?

694


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3149


What are pointers really good for, anyway?

620


What is define directive?

644


What do you mean by command line argument?

650


What is time complexity c?

570