What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answer Posted / shruti
y = 7..
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain the use of 'auto' keyword
What is calloc()?
When should the const modifier be used?
explain what are pointers?
What is assignment operator?
State the difference between x3 and x[3].
Are there namespaces in c?
What kind of structure is a house?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is scope rule in c?
What are local static variables?
Is it possible to execute code even after the program exits the main() function?
how could explain about job profile
Define macros.