adspace


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

Answer Posted / vikraman85

compile time err wil occur..
Have 2 use == opr..

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is int a keyword in c?

1067


How do you determine the length of a string value that was stored in a variable?

1209


hi send me sample aptitude papers of cts?

2257


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2269


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1947


What is the general form of a C program?

1107


ATM machine and railway reservation class/object diagram

5344


swap 2 numbers without using third variable?

1217


What is the difference between union and anonymous union?

1413


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

2018


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1306


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1187


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2836


What is pointer to pointer in c with example?

1204


Explain the difference between null pointer and void pointer.

1165