1304 questions
'#includetypedef struct{ int degree; float coef[MAX_DEGREE];}polynomial;polynomial poly_product(polynomial A,polynomial B){ int i,j; polynomial C,Tmp; int degree_a=A.degree; int degree_b=B.degree; C.d...
I know how to use two buffersHow do I reverse a C/C++ string using only one buffer?for(int i=0; i<strlen(s1); i++) s2[strlen(s1)-i-1] = s1[i];
char *a[] = { Hong Gil-dong, Kim Gil-dong, Lee Gil-dong, Park Gil-dong, Choi Gil-dong};All the other computers up there are working fine, but strangely, I...Hong Gil-dong, Kim Gil-dong, Lee Gil-dong, ...
I wrote it like this *0*00*000*0000*00000*It can be printed up to .y-axis symmetry I want to do it like a picture. What should I do? I'll do the stretch, but I can't do the shrinkage again.Please tell...
#include <stdio.h> void main(){ char ch; ch = getche(); ch = getche(); ch = getche();}It's an example from a book, and if it comes out like this, it has to end with ABC, but I don't know why bec...
The method of using both is similar, and the size of the return is the same, but why is there a separate one?I can't tell the difference between the two.
When you say that an input is always entered as a stringI don't know the length of the string to be enteredI need to determine the size of the char array, what should I do?If the size is input first, ...
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...
#include <stdio.h>#include <stdlib.h>#include <string.h>struct student { int id; char name[20]; int score[4]; struct student *next;};int main(){ int count = 0, id,sc[4]; char na...
There's a question like thischar z[9];printf(%s, Enter string:);scanf(%8[^aeiou], z);printf(The input was \%s\\n, z);What does %8[aeiou] mean?aeiou>is
« | - 88 - | » |
© 2024 OneMinuteCode. All rights reserved.