c tag

1304 questions


1 answers
65 views
0
c language arrangement

#include <stdio.h>int main(void) { char ar[] = {a,b,c,d,e,f,/0}; printf(%s\n, ar); return 0;}I wrote it like this In Visual Studio, You cannot initialize an entity in the char * format using a v...

2 years ago

1 answers
66 views
0
I want to know how to declare C language 2D array + pointer array!

int arr[2][3] = { {1,2,3},{4,5,6} }; int(*parr)[3];parr = arr;I'm not sure what int (*parr)[3]; means in the above code.The arr array declared in the first line consists of two rows and three rows(*pa...

2 years ago

1 answers
26 views
0
Dynamic Memory Allocation

It's a function called free that makes a memory alloc.But as a factor, you only get one pointer, how much dynamic allocation is there They didn't hand over the size, so how do you know how much dynami...

c
2 years ago

1 answers
60 views
0
2D Array Pointer Inquiry

int **A = { {1, 2, 3, 4} {5, 6, 7 ,8} {9,10,11,12} {13,14,15,16}};A = &A[0] Like A+2 =&A[2]Can I express an int** that refers to an address that corresponds to 11...?

2 years ago

1 answers
43 views
0
cLanguage code-up algorithm problem questions

First of all, this question itself is about what's on code-up (other sites), so I don't know if I can ask this question... I'm worried, but I'm so curious. I'll upload it

2 years ago

1 answers
117 views
0
Problems with Korean strings with PHP shell_exec

Hello, I had a problem while making it because I thought it would be faster to learn while developing Python for the first time.As the image code below php, shell_exec delivers two factor values to Py...

2 years ago

1 answers
77 views
0
End and content of string received via fgets

The fgets() function stores the results in the string and adds a null character (\0) to the end of the string.That's what IBM explains.I'm going to compare the string I received through the fgets() fu...

2 years ago

1 answers
109 views
0
I'm asking about getting a MAC address

When accessing a specific web page with a smartphone, check for specific Wi-Fi access Only users who have accessed a specific Wi-Fi can access the site, and at the same time, check the mac address of ...

2 years ago

1 answers
51 views
0
Receive an integer input until an opening character is found in C

Enter space and save it in an integer array until you get a line character in C languageI want to print them out in order. The maximum number of integers to be entered is not more than 100.)Enter 5 6 ...

2 years ago

1 answers
152 views
0
Question about java array constants.

When declaring an array final int[] arr = {1, 2, 3, 4, 5};If I do this, I can't just change the address value of the arr, but I can change the arrangement contents, right?I want to constant the array ...

2 years ago
« - 75 - »

© 2024 OneMinuteCode. All rights reserved.