What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answer Posted / suchita
this is logically wrong bcoz we use relational opr in
conditional statements. and thats why he displays last
statements.
| Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
What is the purpose of 'register' keyword?
What is cohesion and coupling in c?
What is the difference between ++a and a++?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What is variable in c example?
What is 1d array in c?
Do string constants represent numerical values?
What is the difference between malloc() and calloc()?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Does * p ++ increment p or what it points to?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Explain the array representation of a binary tree in C.
What is hash table in c?
What is static volatile in c?
Why do we use main function?