Revision: 38549
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 5, 2011 01:37 by vamsi
Initial Code
#include <iostream> // Vamsi // Code to show inline functions in c++ using namespace std; inline float mul(float a, float b) { return (a*b); } inline float div(float a, float b) { return (a/b); } int main () { float a = 10; float b= 20; cout << mul(10,20) << endl ; cout << div(10,20) << endl ; return 0; }
Initial URL
http://vamsii.com
Initial Description
basic demonstration in inline functions in c++
Initial Title
C++ inline function
Initial Tags
Initial Language
C++