main()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}

Answer Posted / kdedman.kan

x=6 , because its the latest value.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2150


What is the difference between struct and union in C?

559


Why structure is used in c?

574


Why is c called c not d or e?

600


What is the difference between declaring a variable and defining a variable?

710






Can you please explain the scope of static variables?

595


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

5174


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

650


Explain what are run-time errors?

601


while initialization of array why we use a[][2] why not a[2][]...?

1857


What is structure and union in c?

586


What is bash c?

550


Why do we need a structure?

578


What is data structure in c and its types?

583


What is the use of a conditional inclusion statement in C?

594