Skip to main content

Cs201 GDB 2016 Solution



For more discuss and ask question join this group
 
Solved  By : Tahir Siddiqui(Mani)



Cs201_GDB_Solution Answer:
"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.

Comments

Popular posts from this blog

IT Intern (Microsoft Product)

For more discuss and ask question join this group   https://www.facebook.com/groups/143792885956764/ Solved   By : Tahir Siddiqui(Mani) BC-140201235@Vu.edu.pk Job Description We offer Internship in IT 03 months Unpaid internship Responsible for Managing IT Products/Services. Maintains relationships with clients by providing support, information, and guidance. Good presentation skills. Good oral & written communication knowledge of MS Office 50%. Traveling Required Team Work Candidate must have a Motor Bike and laptop. Fresh candidates are encouraged to apply. Job Details Industry: Information Technology ...

cs304 Assimgt 2 2016

Assignment No. 02 Semester: Spring  2016 Object Oriented Programming – CS304 Total Marks: 20 Due Date: July 21, 2016 Objectives: To get a hands on experience of using existing class as base class and implement inheritance. Instructions: Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if: §   The assignment is submitted after due date. §   The assignment is submitted via email. §   The assignment is copied from Internet or from any other student . §   The submitted assignment does not open or file is corrupt. §   It is in some format other than .cpp (Code File). Note: All types of plagiarism are strictly prohibited. For any query about the assignment, contact at CS304@vu.edu.pk Case Study With the technological innovation, th...