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


Please Help Members By Posting Answers For Below Questions

what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

662


Can two or more operators such as and be combined in a single line of program code?

798


How many header files are in c?

542


How do I get a null pointer in my programs?

608


By using C language input a date into it and if it is right?

563






what is a constant pointer in C

664


Combinations of fibanocci prime series

1102


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

802


What is the use of ?

611


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

1404


What is define directive?

628


What is && in c programming?

667


Explain how can I convert a number to a string?

636


How can you increase the allowable number of simultaneously open files?

587


how could explain about job profile

1443