x=2,y=6,z=6
x=y==z;
printf(%d",x)
Answer Posted / guest
y==z checks if both are equal and returns TRUE or FLASE
(1 / 0). In this case y = z = 6, so it returns TRUE / 1. x
= 1.
| Is This Answer Correct ? | 27 Yes | 0 No |
Post New Answer View All Answers
How do you print an address?
What will be your course of action for a push operation?
write a program to display all prime numbers
What is the scope of local variable in c?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
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.
Explain what is the difference between far and near ?
Which is the memory area not included in C program? give the reason
What is the difference between array and linked list in c?
Why is c called a mid-level programming language?
What is difference between scanf and gets?
What is the difference between array_name and &array_name?
What is string in c language?
Can we increase size of array in c?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }