RCS file: stack_using_array.c,v Working file: stack_using_array.c head: 1.9 branch: locks: strict root: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9; selected revisions: 9 description: Stack implementation using array…. MAIN MENU is prepared for the user. —————————- revision … Continue reading
RCS file: queue_using_array.c,v Working file: queue_using_array.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: Queue implementation using arrays is done successfully. Different functions are made for inserting … Continue reading
RCS file: linked_list.c,v Working file: linked_list.c head: 1.7 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 7; selected revisions: 7 description: linked list creation is done successfully. The number of nodes in the linked list is … Continue reading
RCS file: stack_using_linked_list.c,v Working file: stack_using_linked_list.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: Implementing stack using linked list. Push,pop and display operations are implemented using functions. … Continue reading
Command Line Arguments Getting the arguments from command prompt in c is known as command line arguments. Command line is that it consists of a sequence of words,typically separated by space. Main program can receive these words as an array … Continue reading
RCS file: dist_add.c,v Working file: dist_add.c head: 1.4 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: This is the base file for adding distances using structures. —————————- revision 1.4 date: 2013/12/12 … Continue reading
C programming There is a small, fixed number of keywords, including a full set of flow of control primitives: for, if/else, while, switch, and do/while. There is one user-defined names are not distinguished from keywords by any kind of sigil. … Continue reading
PROJECT-01(Multiple Data Compression) As per the project started from basics of ‘c’, i.e introduction of c ,syntax and semantics control structures -conditionals ,loops,arrays,strings,project management tools,file io,functions,structures,queus stacks ,searching and sorting. My part of work and work status is – … Continue reading
kindly give me a suggestion to resolve question no-2 array assignment “in result i am getting a garbage value”
around 10 C assignements completed .doing other assignments….
i have completed 2 assignment with c++. also practice some program using inline function.
I’ve completed 8 c assignments.And working on next ones.
done first 9 assignments with some problems. main problem is coming in low level file input-output operations.
#include<stdio.h> #include<stdlib.h> int main() { void *ptr; char i; ptr = malloc(sizeof(int ) * 5); for(i = 0; i<(sizeof(int) * 5); i++) { *(int *)(ptr + i) = i; printf(” ptr + %d = %p\t %d\n”, i, (ptr + i … Continue reading
struct ABC { int a; float b; char c; }; int main(){ struct ABC *ptr=(struct ABC *)0; ptr++; printf(“Size of structure is: %d”,*ptr); return 0; } Can u please explain this?