EmbLogic's Blog

Data structures in C(assignment-1)

RCS file: ./1.c,v
Working file: ./1.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
printing “Hello Word” using printf
—————————-
revision 1.1
date: 2014/05/23 11:22:57;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./2.c,v
Working file: ./2.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
addition of n numbers is done successfully
:)
—————————-
revision 1.1
date: 2014/05/23 11:22:37;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./3.c,v
Working file: ./3.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
printing “Hello” using printf
it also prints “” along with Hello
—————————-
revision 1.3
date: 2014/05/23 11:22:21;  author: root;  state: Exp;  lines: +1 -0
*** empty log message ***
—————————-
revision 1.2
date: 2014/05/22 08:04:43;  author: root;  state: Exp;  lines: +1 -0
printing a long text including \ and “”
—————————-
revision 1.1
date: 2014/05/22 08:03:43;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./4.c,v
Working file: ./4.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
input my full name using scanf
try to print my full name using printf()
—————————-
revision 1.1
date: 2014/05/22 08:26:08;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./5.3rd_variable_without_scanf.c,v
Working file: ./5.3rd_variable_without_scanf.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
swapping two values
using 3rd variable
without entering the values manually
—————————-
revision 1.1
date: 2014/05/23 11:23:21;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./5.3rd_vraible_using_scanf.c,v
Working file: ./5.3rd_vraible_using_scanf.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
entering the two values in a and b
—————————-
revision 1.2
date: 2014/05/22 08:40:55;  author: root;  state: Exp;  lines: +7 -0
swapping two values
using the 3rd variable
—————————-
revision 1.1
date: 2014/05/22 08:39:24;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./6.c,v
Working file: ./6.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
allow the user to enter the number
—————————-
revision 1.3
date: 2014/05/23 14:55:37;  author: root;  state: Exp;  lines: +2 -0
*** empty log message ***
—————————-
revision 1.2
date: 2014/05/23 14:54:21;  author: root;  state: Exp;  lines: +9 -2
reversing the number
is done successfully
—————————-
revision 1.1
date: 2014/05/23 14:33:34;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./8.c,v
Working file: ./8.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;    selected revisions: 4
description:
printing the size of int
—————————-
revision 1.4    locked by: root;
date: 2014/05/22 10:03:18;  author: root;  state: Exp;  lines: +1 -0
printign the size of double
—————————-
revision 1.3
date: 2014/05/22 10:02:28;  author: root;  state: Exp;  lines: +1 -0
printing the size of float
—————————-
revision 1.2
date: 2014/05/22 10:01:25;  author: root;  state: Exp;  lines: +1 -0
printing the size of char
—————————-
revision 1.1
date: 2014/05/22 09:56:36;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./9.a.c,v
Working file: ./9.a.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
printing hello world on the shell
also printing that how many bytes are written by the printf()
—————————-
revision 1.1
date: 2014/05/23 11:22:00;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./9.b.c,v
Working file: ./9.b.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
printing hello world on the shell and also an integer
checking that how many bytes are written by printf()
—————————-
revision 1.1
date: 2014/05/23 11:25:10;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./9.c.c,v
Working file: ./9.c.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
using printf(printf()) in the program
and checking how many no of bytes are written
and in which pattern?
—————————-
revision 1.1
date: 2014/05/23 11:41:15;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./9.d.c,v
Working file: ./9.d.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
using different conditions in printf()
and checking that how many bits are written?
—————————-
revision 1.1
date: 2014/05/23 11:41:11;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./9.e.c,v
Working file: ./9.e.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
again using different variety in printf() statement
—————————-
revision 1.1
date: 2014/05/23 11:41:03;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./10.a.c,v
Working file: ./10.a.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
user enter an integer through scanf()
and printinf k which stores scanf()
—————————-
revision 1.1
date: 2014/05/23 11:45:12;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./10.b.c,v
Working file: ./10.b.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
when %d is used in printf() for a character
if user enter any integer value,
then it returns 1
otherwise 0 if user enter a character
—————————-
revision 1.1
date: 2014/05/23 11:56:23;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./10.c.c,v
Working file: ./10.c.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
user enter an integer and character
if integer and character are entered
in a right sequence
then it returns 1
if the sequence is altered,
then it will return 0.
—————————-
revision 1.1
date: 2014/05/23 12:01:10;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./10.d.c,v
Working file: ./10.d.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
user enter name character and an integer
lets c what does scanf return now
—————————-
revision 1.1
date: 2014/05/23 13:36:38;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./12.a.c,v
Working file: ./12.a.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
printing the hexa number in integer form
—————————-
revision 1.1    locked by: root;
date: 2014/05/23 12:37:43;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./12.b.c,v
Working file: ./12.b.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
printing the octa number in integer form
—————————-
revision 1.1
date: 2014/05/23 12:37:16;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./13.a.c,v
Working file: ./13.a.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
using if and else condition
if if(condition) sattisfied then it will print same
otherwise not same
—————————-
revision 1.1
date: 2014/05/23 13:00:22;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./13.b.c,v
Working file: ./13.b.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
using if and else condition
if if(condition) is true then it will print greater
otherwise less
—————————-
revision 1.1
date: 2014/05/23 13:02:55;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./13.c.c,v
Working file: ./13.c.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
using if and else condition
if if(condition) is true then it will print same
otherwise less
—————————-
revision 1.1
date: 2014/05/23 13:05:31;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./13.d.c,v
Working file: ./13.d.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
printing the float value for an integer
priting the integer value for float
—————————-
revision 1.1
date: 2014/05/23 13:12:16;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./13.e.c,v
Working file: ./13.e.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
giving more number of format specifiers than the numents
lets c what happen
—————————-
revision 1.1
date: 2014/05/23 13:34:31;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./15.c,v
Working file: ./15.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
ch=’1′ will print 1
and
ch=1 will print in the array format
—————————-
revision 1.1
date: 2014/05/23 13:40:06;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./16.c,v
Working file: ./16.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;    selected revisions: 5
description:
user enter 2 integers
—————————-
revision 1.5
date: 2014/05/23 13:52:48;  author: root;  state: Exp;  lines: +4 -1
now division is performed
—————————-
revision 1.4
date: 2014/05/23 13:48:27;  author: root;  state: Exp;  lines: +4 -1
performing the multiplication action now
on the numbers
which the user entered
—————————-
revision 1.3
date: 2014/05/23 13:46:54;  author: root;  state: Exp;  lines: +4 -1
performing the subtraction action now
on the numbers
which the user entered
—————————-
revision 1.2
date: 2014/05/23 13:45:30;  author: root;  state: Exp;  lines: +4 -2
addition is performed on both the numbers
which the user entered
—————————-
revision 1.1
date: 2014/05/23 13:44:32;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./17.c,v
Working file: ./17.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
user enter the character
checking whether the entered character is a vowel or not
—————————-
revision 1.1
date: 2014/05/23 13:58:27;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: ./fac.c,v
Working file: ./fac.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
user enter the number
—————————-
revision 1.2    locked by: root;
date: 2014/05/23 15:15:32;  author: root;  state: Exp;  lines: +6 -1
factorial of the number is calculated
successfully
:)
—————————-
revision 1.1
date: 2014/05/23 14:01:52;  author: root;  state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>