以下代码定义了两个isPrime函数: bool isPrime(int n) {/实现略/} bool isPrime(double num) {/实现略/} 这体现了C++的什么特性?()
动态内存分配
函数递归
函数重载
模板函数