Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdio>
- void process(int i){
- printf("Value = %d", i);
- }
- void process(float f){
- printf("Value =%d", f);
- }
- int main(){
- process(2);
- process(2.0f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement