89 questions
NULLThe pointer doesn't point at anything, so there's nothing to do with deleteIs it safe to delete?Should I check whether it is NULL or not and delete?
It says Access violation but I don't know the cause.What I want is a program that takes the class, name, and department and makes it look prettyWe tried to float in two ways: return the structure and ...
It's the same as the title.How many pointers can be used in one variable?int ****************a;Can I put on an infinite number of stickers?
int arr[6] = { 1, 2, 3, 4, 5, 6 };int (*parr)[6] = &arr;Is parr a pointer variable that points to an array arr of size 6?
void array(){int random; srand(time(NULL)); for (random = 0; random < 50; random++) { printf(/%d, rand() % 1000 + 1); }}We're going to create a random number function like thisI want to flip this...
class Car{ public: int speed;};int main(){ int Car::*pSpeed = &Car::speed; return 0;}I saw this code, and I wonder when int Car::*pSpeed=&Car::speed; is used in main.
It's a language problem Using a two-dimensional integer array, input and output a 3X3 matrix, and create an appropriate function for the first row It's a question to print out after exchanging two lin...
Hello.You can study function pointers using typeef.As I studied the usage example, there is a source like below.What I'm curious about is what is the return data type of the abc function?And return (t...
const int*const int * constint const * What's the difference between these three?
Receive a two-dimensional array as a function void myFunction(double** myArray){ myArray[x][y] = 5; etc...}There's a function like thisdouble anArray[10][10];myFunction(anArray)I'm getting an error ...
« | - 5 - | » |
© 2024 OneMinuteCode. All rights reserved.