Untitled
unknown
plain_text
4 years ago
351 B
5
Indexable
#include <stdio.h> 
int function1(){
    while(1){
        value=a*b
    }
}
int function2(){
    while(1){
        value=a+b
    }
}
//merge two functions 
int function3(int function){
    while(1){
        if(function==1){
            value=a*b
        }
        else{
            value=a+b
        }
    }
}Editor is loading...