|
|
|
задание из теста
|
|||
|---|---|---|---|
|
#18+
Есть вопрос из теста, ВООБЩЕ не понимаю, в чем вопрос и какой ответ. Кто понимает поясните пожалуйста You have written the following function in your program void emit(const cahr*, ...) Based on the sample code above a variable argument passed to the emit() function of type float is converted to a 1) char 2) char* 3) double 4) void * 5) int ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.03.2018, 23:59 |
|
||
|
задание из теста
|
|||
|---|---|---|---|
|
#18+
Ты всерьёз надеешься, что тут за тебя сделают все твои задания?.. http://en.cppreference.com/w/cpp/language/variadic_arguments Posted via ActualForum NNTP Server 1.5 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.03.2018, 01:14 |
|
||
|
задание из теста
|
|||
|---|---|---|---|
|
#18+
polin11Есть вопрос из теста, ВООБЩЕ не понимаю, в чем вопрос и какой ответ. Кто понимает поясните пожалуйста You have written the following function in your program void emit(const cahr*, ...) Based on the sample code above a variable argument passed to the emit() function of type float is converted to a 1) char 2) char* 3) double 4) void * 5) int Тут нет правильного ответа. Во-первых, void emit(const char *, ...) Во-вторых, преобразований не будет. В С++ оно тупо не скомпилируется. В С либо тоже не скомпилируется, либо пихнёт в стек float без преобразования. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.03.2018, 12:02 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=39617875&tid=2017923]: |
0ms |
get settings: |
8ms |
get forum list: |
19ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
165ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
60ms |
get tp. blocked users: |
2ms |
| others: | 212ms |
| total: | 487ms |

| 0 / 0 |
