#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
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is a file descriptor in c?
What are the valid places to have keyword “break”?
What is function prototype in c with example?
Write a program to implement queue.
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Is exit(status) truly equivalent to returning the same status from main?
write a program to display all prime numbers
What are the advantages and disadvantages of c language?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Why can’t we compare structures?
What is the data segment that is followed by c?
What is a struct c#?
What are header files in c programming?
Write a program to show the change in position of a cursor using c