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

Answer Posted / samrat

Ans is: 4,9

For example

int i = (x, y); // stores y into i
int i = x, y; // stores x into i

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of volatile in c language?

670


Why doesnt this code work?

622


When should you not use a type cast?

665


What kind of structure is a house?

566


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

611






I heard that you have to include stdio.h before calling printf. Why?

594


What is typedef example?

627


What is the difference between class and object in c?

588


What is the use of pragma in embedded c?

597


What is the use of static variable in c?

599


What are the 4 types of organizational structures?

627


What are the functions to open and close file in c language?

733


What is the meaning of 2d in c?

617


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

641


What does void main return?

612