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
Is that possible to add pointers to each other?
What are the types of assignment statements?
Can we use any name in place of argv and argc as command line arguments?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is realloc in c?
Is there sort function in c?
What is the difference between union and anonymous union?
What does calloc stand for?
What is the general form of a C program?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is a const pointer in c?
Is c still used?
Explain the red-black trees?
How do you declare a variable that will hold string values?
Who invented b language?