New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Struct type name be the same as what its called?
c
struct
1 Vote
2 Answers
1st Feb 2018, 1:55 PM
Jerome Ariola
Could anyone help me how to deal struct , class ?
c++
coding
soon
1 Vote
2 Answers
18th May 2019, 6:06 PM
Abrorbek Zukhriddinov
How do you know when to use a class or struct in C++?
c++
classes
struct
2 Votes
2 Answers
29th Jul 2018, 4:40 AM
Tevin Charles
Why depends the result on order of declaration of class, or struct members?
c++
class
sizeof
struct
5 Votes
2 Answers
9th Dec 2018, 1:09 AM
Petros Simidyan
What is the difference between struct and union in c programming
c
0 Votes
2 Answers
16th Apr 2022, 4:40 PM
Jeya Sudha G V
Need some help with a union inside of a struct (Solved)
c
strncpy
struct
unioin
2 Votes
1 Answer
22nd Sep 2023, 7:40 PM
William Owens
How to delete the user input in array struct in c++??
arrays
c++
struct
0 Votes
2 Answers
13th Jul 2019, 3:15 PM
Kuro Himitsu
i m using a deque of type struct in c++. Struct contains multiple variable, how could i add those variable in deque
c++
deque
stl
1 Vote
1 Answer
24th Jan 2018, 1:58 PM
shobhit
struct node{ int x; node* n} int main(){ cout<<sizeof(node) };
sizeof
0 Votes
1 Answer
16th Oct 2019, 6:34 AM
Jude Kwofie
Why is the size of the memory of the struct variable 'place' is 16 Bytes?
c
1 Vote
9 Answers
8th Sep 2019, 7:36 AM
Preet
Please, make code, which will show us todays data in struct function at C programme.
c
cprogramme
-2 Votes
8 Answers
2nd Dec 2019, 10:38 AM
Elvin Namazov
how to use “fread”to deal with the matter of struct
c
c++
java
python
1 Vote
1 Answer
19th Sep 2017, 1:00 PM
Jean
Can I have static member in struct in C as in C++ example?
c
c++
0 Votes
2 Answers
29th Jul 2019, 7:36 PM
UraL
How can I use struct in saving to file for example:"reminder.dat"
please
0 Votes
1 Answer
29th Mar 2018, 1:05 PM
Amirhossein Pouria
How to take user input for char array that is a member of struct ? [Solved]
c++
struct
0 Votes
7 Answers
3rd Mar 2021, 3:19 PM
Abhay
What is the difference between structure and union?
struct
union
21 Votes
8 Answers
14th Nov 2016, 4:32 PM
Chandrakant More
Can we implement all the concepts of OOPS using the keyword struct in c++
c+
4 Votes
2 Answers
11th May 2017, 4:52 AM
Nikhil
Why can't we declare a variable length array in struct in C?
arrays
c
declaring
struct
0 Votes
1 Answer
5th May 2018, 7:41 AM
srihitha reddy
Do all variables in a struct share a continous memory like arrays ?
access
array
c++
operator
structs
0 Votes
2 Answers
27th Jul 2020, 9:08 PM
Mustafa K.
Write a program using struct data type and pointer declaration proving the output shown below:
c++
-1 Vote
7 Answers
21st Oct 2021, 2:26 PM
SAAR MAFFY G.
What is the difference between a struct and a class in C++?
c++
classes
struct
1 Vote
1 Answer
17th Mar 2017, 1:25 AM
Derek Desentz
Can someone explain me this .
struct
structure
3 Votes
8 Answers
11th May 2021, 6:29 PM
NISHTHA
Is there something you can do with struct but not with classes ? (in c++)
c++
classes
struct
structs
1 Vote
2 Answers
18th Aug 2022, 6:00 AM
Unwanted Blue
How to assign an string to an objext in a struct ?
c/c++
structs
1 Vote
0 Answers
29th Mar 2018, 9:21 AM
Otumian Empire
Which header file do we have to use c++ to use strcpy function?
struct
1 Vote
3 Answers
1st May 2020, 9:15 AM
Chitra Meena
Please help me to solve this struct program of c++ question on description
struct
-2 Votes
1 Answer
6th Aug 2020, 6:32 AM
Amarnath Kv
What is a struct array? And can somebody explain multi-dimensional arrays a bit clearer?
arrays
c++
1 Vote
2 Answers
12th Oct 2016, 9:28 AM
Sadikovic Samir
Is struct data structure in c++ likely to be the same with object data structure in javascript
c++
javascript
1 Vote
2 Answers
10th May 2020, 9:40 AM
Dexterous Godson
Can we compare two structures using "==" operator
c
struct
structure
6 Votes
16 Answers
14th Feb 2019, 5:42 AM
Kailash Loncha
Why this code give the size of struct emp 16 , why not 14..???
c
predefined-variables
sizeof
0 Votes
2 Answers
12th Aug 2020, 10:53 AM
Saumya Mishra
What are the difference Between " Struct list *file ;" and "Struct list *file = malloc(sizeof(*file));" ?
arraylist
c
1 Vote
5 Answers
29th Jun 2019, 12:07 PM
RATIARIVELO Nekena Rayane
Structs
c++
struct
7 Votes
4 Answers
31st Mar 2019, 3:14 PM
Nikoo
What is the function equivalent struct in java and how can we used?
java
0 Votes
1 Answer
6th Nov 2017, 3:58 PM
Boulaïd Boudada
Why the code below is giving the output 16?
c_language
struct
2 Votes
8 Answers
19th Apr 2020, 12:08 PM
Manthan Gohel
What's the difference between passing a struct pointer and declaring it inside the function itself?
data-structures
0 Votes
1 Answer
10th Oct 2020, 5:39 PM
Raj Priyadarshi
How to coding
struct
-2 Votes
3 Answers
31st Jan 2022, 5:41 PM
Rutu Hajare
using namespace std; struct student{ int roll; char name[30]; char fname[30]; float cgpa; } s[10]; int main (void) { }
c++
0 Votes
13 Answers
13th Dec 2017, 7:53 PM
Rehan Solangi
solo learn put this question right but answer is wrong WHY SOLO LEARN ?? WHY?
c
struct
8 Votes
4 Answers
20th May 2020, 7:46 AM
Ashutosh k.
Write code to add two complex numbers( without using structures)???
struct
0 Votes
2 Answers
30th Jul 2019, 8:29 PM
Govind Kumar
What are the differences between a class and a structure?
classes
struct
7 Votes
4 Answers
16th Aug 2018, 2:20 PM
Dimitris N. Kapoulas
What is difference between union and structure
struct
structure
0 Votes
5 Answers
22nd Jul 2019, 8:26 AM
Aishwarya Viraktamath
How this code is working? Anyone pls!
c
struct
3 Votes
5 Answers
23rd Jan 2021, 7:42 AM
<Saurabh Singh Rawat/>
Structures
struct
3 Votes
1 Answer
19th Sep 2017, 7:25 PM
Kiran
I want to get a name and put it in my struct element "etudiant.name"
c_language
problem_soloving
0 Votes
1 Answer
31st Mar 2019, 12:28 AM
Omar talbi
What is the use of structures in c#?
struct
2 Votes
2 Answers
26th Oct 2017, 8:46 AM
Jyoti
What is the issue?
c++
struct
3 Votes
4 Answers
11th Jul 2022, 3:03 AM
Marco Cárdenas
## What is the difference between the keywords struct and class in C++ ?? :)
c++
0 Votes
2 Answers
3rd Feb 2017, 9:00 AM
Susan Mizan
Why variables should not be initialized in a structure in c#?
struct
1 Vote
2 Answers
26th Oct 2017, 3:30 PM
Jyoti
#include <stdio.h> struct customer { int phone_no; char name[80]; int balance; }; void accept(struct customer[], in
find
results
the
0 Votes
1 Answer
5th Mar 2022, 6:43 AM
Letwin Rgwodzi
How to structure use of programming coding
struct
structure
2 Votes
4 Answers
9th Feb 2019, 7:06 AM
Charulatha
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
4
...
7
Next >
Hot today
Hello, please help me understand how to solve
3 Votes
Help with homework
0 Votes
How to create animation in Python?
2 Votes
Why are not all the codes showing?
0 Votes
please help me emotionally
1 Votes
While loop problem maybe?
2 Votes
Pls where can i download mobile phone stock pictures for e-commerce site?
0 Votes
How to stop pop up menu from qt table horizontal header
0 Votes
What next?
0 Votes
Having issues with the "JavaScript Intermediate" course!
1 Votes