We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution
+ Link For Past Papers, Solved MCQs, Short Notes & More
Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Graded Discussion Board Dated: Aug 05, 16
The Graded Discussion Board (GDB) for CS201 will be held on 11th and 12th of August 2016. The topic of the GDB is:
Suppose that you have to write a small C/C++ program where the fast execution of the program is the key requirement. The memory utilization by the program is not an issue at all. You are given two options to develop the program either using Inline functions or simple ordinary functions.
Which of these options you will choose to develop the program? Justify your answer with solid reason(s).
NOTE: Keep your answer to the point. Your answer should not exceed 3 to 4 lines. No GDB solution will be accepted through email before or after the deadline.
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
Please Discuss here about this GDB.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.
Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....
"Inline functions should be your choice because.1.It avoid function calling overhead.2. variables pop on the stack overhead is avoided during function call3. No return call from a function to other function which is again an overhead4.No linker complaining happen when include at mutiple places."
Below is argument why normal functions are not choice .
For normal function call the program stores member address of instructions when u call a function. It loads the function into the memory then copies parameter values and jumps to the memory location of function you r calling.Now it run the function codes and stores the function return valu, and then jump back to the location from where function was invoked.