RCS file: 1.c,v
Working file: 1.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
print hello world
/
—————————-
revision 1.2 locked by: root;
date: 2014/10/22 15:57:31; author: root; state: Exp; lines: +1 -1
print “hello world” usnig \” to print “.
—————————-
revision 1.1
date: 2014/10/22 12:48:03; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 2.c,v
Working file: 2.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
print the sum of n numbers
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 12:50:20; 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:
print “Hello”
“welcome \to \Emblogic Embedded \Technologies Pvt Ltd”
using \\ to print \ and \” to print “.
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 16:03:48; 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 limitation of scanf
understand the use of gets()
—————————-
revision 1.2 locked by: root;
date: 2014/10/22 16:35:31; author: root; state: Exp; lines: +2 -2
if the size of array is less than the size of entered string it print but if string size is less than 34 character otherwise segmentation fault occure.
—————————-
revision 1.1
date: 2014/10/22 16:19:42; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 5.c,v
Working file: 5.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
swap two numbers
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 16:44:02; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 6.c,v
Working file: 6.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 logic to reverse the digit sequence using % and / operator
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 17:36:48; 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:
print
Emblogic Embedded Technologies Pvt Ltd
D-64,First Floor,Noida Sector -2,UP-201203
011-25555555
vipin
—————————-
revision 1.1
date: 2014/10/22 17:52:46; 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:
print the size of int,float,long int ,char,double
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 17:59:04; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 9a.c,v
Working file: 9a.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
understand the concept of return value of printf
—————————-
revision 1.1
date: 2014/10/22 18:06:07; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 9b.c,v
Working file: 9b.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
print return value of printf(“hello world %d”,20);
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 18:44:32; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 9c.c,v
Working file: 9c.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
print the return value of printf(“hello world\n%d”,printf(“%d”,100));
understand the concept of execution sequence of printf function
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 18:46:24; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 9d.c,v
Working file: 9d.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
print the return value of
int i=100;
k=printf(“%d”,printf(“%d%d”,i,printf(“%d”,10)));
—————————-
revision 1.2 locked by: root;
date: 2014/10/22 18:50:49; author: root; state: Exp; lines: +0 -1
return value is 10100241
—————————-
revision 1.1
date: 2014/10/22 18:48:30; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 9e.c,v
Working file: 9e.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
print the return value of
int i=100;
k=printf(“hello world\n%d”,printf(“%d%d”,i,printf(“%d”,100)));
as
1001003hello world
413
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 18:57:34; author: root; state: Exp;
Initial revision
=============================================================================
rlog: RCS/10a.c,v: No such file or directory
RCS file: 10b.c,v
Working file: 10b.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
check the same concept for character variable
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 19:29:29; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 10c.c,v
Working file: 10c.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
check same concept as above
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 19:33:45; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 10d.c,v
Working file: 10d.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
check the same concept for number,character and string
—————————-
revision 1.1
date: 2014/10/22 19:38:44; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 11.c,v
Working file: 11.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 use of format specifier corresponds to decimal,hexadecimal and octal number
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:02:56; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 12a.c,v
Working file: 12a.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 assignment of octal number
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:07:10; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 12b.c,v
Working file: 12b.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 method to assign a hexadecimal value to a variable
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:10:11; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 13a.c,v
Working file: 13a.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 that if(f==2.5) is valid statement
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:14:25; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 13b.c,v
Working file: 13b.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
f=2.5 if(f>2.5)is not true statement
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:18:45; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 13c.c,v
Working file: 13c.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
float f=2.5 if(f==2.5f) is true statement
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:24:13; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 13d.c,v
Working file: 13d.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 effect of interchange the format specifier of integer and float numbers
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:37:01; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 13e.c,v
Working file: 13e.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 positional relation b/w format specifier and optional arguments in prinf() function
eg:printf(“%c%d%f%o”,ch);
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 20:44:16; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 14.c,v
Working file: 14.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
print the ranges of data types using limit.h
Minimum and maximum values a ‘signed char’ can hold.
SCHAR_MIN:-128
SCHAR_MAX:127
Maximum value an ‘unsigned char’ can hold. (Minimum is 0.)
UCHAR_MAX:255
Minimum and maximum values a ‘char’ can hold.
CHAR_MIN:-128
CHAR_MAX:127
Minimum and maximum values a signed short int’ can hold
SHRT_MIN:-32768
SHRT_MAX:32767Maximum value an unsigned short int’ can hold. (Minimum is 0.)
USHRT_MAX:65535
Maximum value an signed int’ can hold. (Minimum is 0.)
INT_MIN:-2147483648
INT_MAX:2147483647
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 22:24:33; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 15.c,v
Working file: 15.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 differece b/w 1 and ’1′
—————————-
revision 1.1 locked by: root;
date: 2014/10/22 22:37:13; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 16.c,v
Working file: 16.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
understand the use of switch statement….
—————————-
revision 1.1
date: 2014/10/23 02:33:56; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 17.c,v
Working file: 17.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
use of switch to determine vowel.
—————————-
revision 1.1 locked by: root;
date: 2014/10/23 02:42:52; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 18.c,v
Working file: 18.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 factorial concept
—————————-
revision 1.1 locked by: root;
date: 2014/10/23 02:55:50; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 19.c,v
Working file: 19.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
implement the logic to get LCM of three numbers
—————————-
revision 1.2 locked by: root;
date: 2014/10/23 14:59:20; author: root; state: Exp; lines: +25 -0
implement logic to get HCF of 3 numbers
—————————-
revision 1.1
date: 2014/10/23 14:34:57; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: 20.c,v
Working file: 20.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 logic to check a number wheather it is a pilandrome or not.
—————————-
revision 1.1 locked by: root;
date: 2014/10/23 15:11:42; author: root; state: Exp;
Initial revision
=============================================================================
[root@VIPIN c_assignment2]#