Shafik Y
A
Why are C++ devs so good at puns?
.
.
.
.
.
.
.
.
.
.
.
Because we are so used to ambiguous overloads 🥁

#cplusplus
07:30 PM - May 15, 2023
Avatar Avatar
0
0
2
Shafik Y
A
#226 Given the following in C and C++

struct A {
int y : (int)(double)10.f;
};

Without checking, valid code?

C | C++
=========
A. No | No
B. No| Yes
C. Yes | No
D. Yes | Yes

#cplusplus
#Cpppolls
#programming

A

B

C

D

0 votes — 07:03 PM - May 01, 2023
0
0
0
Shafik Y
A
#225 Given the following in C++:

int x{3};
int y{x};

template
static const int z{y};

int main() {
return z; // What is the value returned?
}

Without checking:

A. 3
B. 0
C. Something else
D. Show results

#cplusplus
#Cpppolls

A

B

C

D

0 votes — 12:49 PM - Apr 24, 2023
0
0
0
Shafik Y
A
For all my C++ tweeps ... I am sorry

#cplusplus
03:27 PM - Apr 23, 2023
0
0
0
Shafik Y
A
Cursed code of the day 🧐

#cplusplus
06:46 PM - Apr 22, 2023
Avatar Avatar
0
1
2
Shafik Y
A
Oh your a C++ developer? Explain:

delete this;

#cplusplus
08:47 PM - Apr 21, 2023
0
0
1
loading...
{{ notificationModalContent }} {{ promptModalMessage }}