Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~224 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for subi09

i started reading about templates and i got confused on the below. template<class T> T max(T t1, T t2) { int if (t1 > t2) return t1; return t2; } int main(){ std::cout<<max<int>(120,14.55); return 0; } o/p is 120 .But when i compiled the above i got the below warning. …

Member Avatar for subi09
0
224