Find errors
(1) m = ++a*5;
(2) a = b ++ -c*2;
(3)y = sqrt (1000);
Answer Posted / pranav
2) has an error because the LVALUE (b++) is not yet
incremented before evaluation
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a lookup table in c?
What are runtime error?
What are operators in c?
Does free set pointer to null?
Why is #define used?
What is call by reference in functions?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is #include conio h?
Is c procedural or object oriented?
What is array within structure?
ATM machine and railway reservation class/object diagram
What are the functions to open and close the file in c language?
Write a program to show the change in position of a cursor using c
What are the standard predefined macros?