下面程序的运行结果是()。#include<stdio.h>intmain(){staticchara[]=”Language”,b[]=”programe”;char*p1,*p2;intk;p1=a;p2=b;for(k=0;k<=7;k++)if(*(p1+k)==*(p2+k))printf(“%c”,*(p1+k));}
下面程序的运行结果是()。#include<stdio.h>intmain(){staticchara[]=”Language”,b[]=”programe”;char*p1,*p2;intk;p1=a;p2=b;for(k=0;k<=7;k++)if(*(p1+k)==*(p2+k))printf(“%c”,*(p1+k));}
A.gae
B.ga
C.Language
D.有语法错
正确答案:A