单选题

在c++ 中,下列哪个是定义常量的正确方式?()

A

#define int MAX 100

B

const int MAX=100

C

static const int MAX=100

D

int   MAX=100

赣ICP备20007335号-2