Understood! Thanks for the help. :)
Type: Posts; User: Ashfaqur Rahman
Understood! Thanks for the help. :)
Thanks for your reply. But still i am unable to find error!
Initially:
root is not NULL
root->next is NULL
list_insert(root, 5) is called:
Here is my simple singly linked list implementation. By the given data it should output 10 5 6. But it's outputting only 10.
#include <stdio.h>
#include <stdlib.h>
struct node {
int...
I am using code::blocks Compiler.
If I Run Any Program From Codeblocks Xterm Showing Following -
"sh: 1 : /home/username/Desktop/cp: Permission Denied"
How Can I Run Any Program On Ubuntu?
I...
Thank You both.
I have found whats wrong.
In line 29 scanf("%c",&cmd) statement execute when if(ch==10) become true and take input.At the time of taking input when I input Y or N and hit enter I...
The Objective Of This Program Is To Create A File To Write Text And Read Back The File Content.
To Do That I Have Made Two Function writeFile() To Write And readFile() To Read.The readFile()...
Thanks.
This Is What I Need.
First of all i have used binary mood cause if i used text mood functions like fgets() or fscanf(), i have to use array to catch string from file but i want to make my program dynamic so that it...
Objective of this program is to read binary data from a file and print it.
#include <stdio.h>
void readFile(void);