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
Explain what is the difference between text files and binary files?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Why c is called a middle level language?
Is there any data type in c with variable size?
What is the size of structure in c?
What is derived datatype in c?
Write a program to check palindrome number in c programming?
What are pointers? What are stacks and queues?
Can you please explain the difference between malloc() and calloc() function?
What is meant by preprocessor in c?
What is operator promotion?
What is new line escape sequence?
What is the difference between local variable and global variable in c?
What is console in c language?
What are the primitive data types in c?