RCS file: 1.c,v
Working file: 1.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
understand the basic pointer concepts
understand that pointer stores a logical address in it
—————————-
revision 1.1 locked by: root;
date: 2014/10/30 16:39:46; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 2.c,v
Working file: 2.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
understand the malloc concept to allocate dynamic memory to a pointer to store some data dynamically(run time)
use type casting to store data in a desired fashion(int *,char *….)
—————————-
revision 1.2 locked by: root;
date: 2014/10/30 17:08:23; author: root; state: Exp; lines: +5 -5
understand that if s=a=malloc…..then if i assign a value to a it indirectlly assign to both a and b
understand the difference among *s++,(*s)++,*++s and ++(*s)or ++*s
—————————-
revision 1.1
date: 2014/10/30 16:49:59; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 3.c,v
Working file: 3.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
understand the concept of double pointer
if *ppi is double pointer then ppi=&pn and *pn=&num is used
—————————-
revision 1.1 locked by: root;
date: 2014/10/30 17:43:43; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 4.c,v
Working file: 4.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
understand the logic behind *s[]
s[1] print the data present at 1st position
&s[1] and s+1 print the logical address where the data is stored
—————————-
revision 1.2 locked by: root;
date: 2014/10/30 18:54:43; author: root; state: Exp; lines: +9 -3
understand the concept of tripple pointer
print the output as
addresses of data content of *s[] are :0x80498d0 0x80498d4 0x80498d8 0x80498dc
addresses of *ptr[] are :0x80498dc 0x80498d8 0x80498d4 0x80498d0
addresses of ptr[] are :0xbf8820cc 0xbf8820d0 0xbf8820d4 0xbf8820d8
address of ptr :0xbf8820cc
address of p :0xbf8820cc
address of ++p :0xbf8820d0
value of **p pink
ink
—————————-
revision 1.1
date: 2014/10/30 18:06:10; author: root; state: Exp;
Initial revision
=============================================================================
rlog: RCS/5.c,v: No such file or directory
RCS file: 6.c,v
Working file: 6.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
unserstand the command line argument concept
print argc value and argv[]‘s value
—————————-
revision 1.1
date: 2014/10/30 19:46:31; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 7.c,v
Working file: 7.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
implement the logic to find out the first byte of array elements
—————————-
revision 1.1
date: 2014/10/30 19:54:33; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 8.c,v
Working file: 8.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
implement the concept to find the number of elements before occurence of 0;
—————————-
revision 1.1 locked by: root;
date: 2014/10/30 19:58:41; author: root; state: Exp;
Initial revision
=============================================================================
[root@VIPIN c_assignment8]#