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 are the loops in c?
What is hashing in c language?
What is hash table in c?
What does 3 mean in texting?
What are the 4 types of functions?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What is variable and explain rules to declare variable in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Explain how can I convert a string to a number?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What does main () mean in c?
What is the purpose of ftell?
What is enumerated data type in c?
How can I direct output to the printer?