please help me.
Q.
Write a function init that initialises a structure theStruct
defined as
typedef struct theStruct {
int myInt;
float myFloat;
char *myString;
}
Type: Posts; User: lessrain
please help me.
Q.
Write a function init that initialises a structure theStruct
defined as
typedef struct theStruct {
int myInt;
float myFloat;
char *myString;
}
I was studying for the end of semester exam,
& need help with few sample exam questions.
your reply will be very much appreciated~
Q)
Given the following definition:
typedef struct node
{...
my program doesn't have any compile error now
but when i test it, it gives me "Bus Error (core dumped)".
what does this mean?
but the whole point of this is that i should NOT use
standard string handling functions.
is [copystr] different from [strcpy]?
I need to implement my own set of functions
which perform standard string handling functions
(such as strcpy, strcmp, etc) using array, ptr, malloc...
Started writing the first part with...