What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answers were Sorted based on User's Feedback
Answer / manjunath a s
it will be in infinite loop because x=6 is an assignment
statement and it will be always true.
| Is This Answer Correct ? | 1 Yes | 6 No |
Answer / vikraman85
compile time err wil occur..
Have 2 use == opr..
| Is This Answer Correct ? | 3 Yes | 11 No |
send me the code of flow chart generator using C-programming language amd this code should calculate the time and space complexity of the given progran and able to generate flowchart according to the given program?
What does extern mean in a function declaration?
What are extern variables in c?
Where are local variables stored in c?
How can I make a program in c to print 'Hello' without using semicolon in the code?
9 Answers C DAC, Practical Viva Questions,
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Implement bit Array in C.
What happens if you free a pointer twice?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What is sizeof int?
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
What are the different flags in C? And how they are useful? And give example for each in different consequences?