*cptr = &channel[0] // cptr = channel;
display (*cptr); // display (cptr);
int *cptr, i; // int i;
modify this
Type: Posts; User: jeremy75
*cptr = &channel[0] // cptr = channel;
display (*cptr); // display (cptr);
int *cptr, i; // int i;
modify this
scanf("%d", &thirdnum);
printf("\nThe three numbers entered is %.2d %.2f and %.2d\n", maxnum);
Check it!
this code is mean
+------+------+------+------+------+------+------+------+
^
p
if p->word is equal with word, p is assinged p->left or p->right
this is not remove p
#include <stdio.h>
#include <stdlib.h>
/* function main begins program execution */
int main()
{
int row; /* initialize row */
int column; /* define column */
int x;
while (fread(&X, sizeof(contact_rec), 1, fp)) != NULL) <----"Expression Syntax Error"
while (fread(&X, sizeof(contact_rec), 1, fp) != 0) //<----"Expression Syntax Error"
i suggest you
replace this
scanf("%d",&A[i][j]);
=>
scanf("%d%c",&A[i][j]);
#include <stdio.h>
#include <stdlib.h>
#define MAXNAME 40
#define MAXDIGITS 27
struct phone
{
char areacode[MAXDIGITS];
char localprefix[MAXDIGITS];