else从属于最靠近它的不完整的if语句

来源:互联网 发布:华为大数据视频 百度云 编辑:程序博客网 时间:2024/06/07 01:37
#include <cstdio>
int main(){
 if(i>1)
  if(j>2)
   printf("i>1 and j>2\n");
   else
   printf("no they are not\n"); 
}