What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;

Answer Posted / deepa

y = 7

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

653


Are there any problems with performing mathematical operations on different variable types?

570


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1539


What are pragmas and what are they good for?

571


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

1576






Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1733


string reverse using recursion

1806


Explain how can type-insensitive macros be created?

570


Why is %d used in c?

560


How can you restore a redirected standard stream?

609


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1981


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

727


Why should I use standard library functions instead of writing my own?

670


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2980


i want to know the procedure of qualcomm for getting a job through offcampus

1933