main(){
int a= 0;int b = 20;char x =1;char y =10;
if(a,b,x,y)
printf("hello");
}
Answer Posted / susie
Answer :
hello
Explanation:
The comma operator has associativity from left to right.
Only the rightmost value is returned and the other values
are evaluated and ignored. Thus the value of last variable y
is returned to check in if. Since it is a non zero value if
becomes true so, "hello" will be printed.
| Is This Answer Correct ? | 22 Yes | 1 No |
Post New Answer View All Answers
Design an implement of the inputs functions for event mode
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
Develop a routine to reflect an object about an arbitrarily selected plane
write a simple calculator c program to perform addition, subtraction, mul and div.
could you please send the program code for multiplying sparse matrix in c????
write a program for area of circumference of shapes
why nlogn is the lower limit of any sort algorithm?
how to test pierrot divisor
Write a routine to implement the polymarker function
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
#include
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']