Ancestors

Toot

Written by Shafik Yaghmour on 2025-01-23 at 18:13

Retro C++ quiz #19

void f() {

double a[]{1,2,3}; // Well-formed

double* p = new double[]{1,2,3}; // but is this well-formed?

}

Without checking:

A. Yes

B. No

C: Show answers

[#]cplusplus

[#]Cpppolls

=> More informations about this toot | More toots from shafik@hachyderm.io

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113879023191287444
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
241.657001 milliseconds
Gemini-to-HTML Time
0.670908 milliseconds

This content has been proxied by September (ba2dc).