#include<stdio.h>
void main()
{
int a=5,b=6,c;
int x=(a<b)+7;
int y=(x==7)*9;
int z=(c=x+y)*2;
printf("%h %h %h",x,y,z);
}
What is the output? Explain it.
Answer Posted / srinath
x=8;
y=0;
z=16;
| Is This Answer Correct ? | 19 Yes | 6 No |
Post New Answer View All Answers
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
List out few of the applications that make use of Multilinked Structures?
What is the difference between call by value and call by reference in c?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
How to implement a packet in C
What are derived data types in c?
Is c a great language, or what?
Where are c variables stored in memory?
How many header files are in c?
Explain pointer. What are function pointers in C?
cavium networks written test pattern ..
Why calloc is better than malloc?
How many types of sorting are there in c?
What is the ANSI C Standard?
What is meant by type casting?