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

Answer Posted / bhagya

1

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a dynamic array in c?

589


Describe the header file and its usage in c programming?

616


What is the difference between malloc() and calloc()?

615


Explain how can I remove the trailing spaces from a string?

622


Explain what are bus errors, memory faults, and core dumps?

786






Explain high-order and low-order bytes.

663


What is the difference between struct and typedef struct in c?

652


How can you return multiple values from a function?

626


What is the process to generate random numbers in c programming language?

607


When is the “void” keyword used in a function?

829


Define C in your own Language.

635


Is it better to use a macro or a function?

651


How do you define a string?

649


Why main function is special give two reasons?

943


Do you know the difference between exit() and _exit() function in c?

607