python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
What is the difference between the ways of declaring a pointer?
What changes between these two ways?
int *ptr and int* ptr
Both work the same way, but for my code or performance my program has difference?
#include <iostream>
using namespace std;
int main()...
DavidsWill
Votes: 0
Answers: 3
Are these two the same in C programming language?
Can i ask if the syntax for these two are the same? I keep getting confused because typedef construct have the struct name after the closing of the curly brace but for here it seems like the variable ...
brown_dorito
Votes: 0
Answers: 3
How to properly write a struct
I have seen some programmers code looking as below
Where after they have declared a struct they have two similar function pointing to the struct
What is the porpouse of the first void Point_print(cons...

user14570759
Votes: 0
Answers: 2
Refer a String for Creating Class Dynamically
I want to use a string as class member name. the way I thought (but it doesn't work) is in the below.
class Constant():
def add_Constant(self, name, value): self.locals()[name] = value # <- th...

LIFE1UP
Votes: 0
Answers: 1