[关闭]
@aymax 2017-02-24T12:15:28.000000Z 字数 897 阅读 766

招新试题

tv


选择题

D、应该char s[]={"car"}

D

  1. char *s =”abcde”;
  2. s+=2;
  3. printf(“%d”,s);

A、cde
B、字符'c'
C、字符'c'的地址
D、无确定的输出结果

C

填空题

  1. char *ptr=NULL;
  2. char str[]="Hello";
  3. ptr=str;

'\0'

11, 12, 1 , 4

  1. int a[] = {2, 8, 16, 24}
  2. char *p1 = a;
  3. char *p2 = &a[3];
  4. p2 - p1 = ?

两地址相减,(3-0)*4

  1. a=a+b;
  2. b=a-b;
  3. a=a-b;

不添加新变量使
c = a + c - (a = b, b = c);

智力题

前端附加题

  1. <ul><a><form><b><span><div><dl><i><em><strong><p><ol><label><tabel>

内联元素:<a>、<b>、<span>、<i>、<em>、<strong>、<label>
块级元素:<div>、<p>、<ol>、<ul>、<dl>、<tabel>、<form>

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注