What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answer Posted / suchita
this is logically wrong bcoz we use relational opr in
conditional statements. and thats why he displays last
statements.
Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
What is pass by reference in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is pointers in c with example?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
How do you use a pointer to a function?
can any one tel me wt is the question pattern for NIC exam
I have a varargs function which accepts a float parameter?
What is the difference between malloc() and calloc()?
Is python a c language?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
How do you write a program which produces its own source code as output?
What is echo in c programming?
How pointers are declared?
Explain what is the difference between a free-standing and a hosted environment?
Explain what is the difference between functions getch() and getche()?