C Language Notes

 


  •  What is C Programming.

C Programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located the USA, Dennis Ritchie is known as the founder of the c language.
                It was developed to over come the problems of previous language such as B, BCPL, etc. Initially C language was developed to be used in Unix operating system It inhents many features of previous language such as B and BCPL.

                                                "YA" 

What is c.


  • What is C.

=> It is high level language as well as low level language.

                                    'OR'

=> Middle level language.

  • Point ways Definition (What is C)

  1. It is a fundamental broadly useful programming language.
  2. It is the foundation of all general programming language so it is called essential programming language.
  3. It is developed by Dennis Ritchie.
  4. It is developed at AT and T'S bell laboratory(USA)
  5. It was developed in 1972.
  6. Fundamentally it was created to execute UNIX Operating framework.
Language                            Year                            Developed By:-

Algol                                    1960                          International Group

BCPL                                   1967                          Martin Richard

B                                           1970                          Ken Thomposon

                                          1972                          Dennis Ritche

K&R C                                  1978                         Kenighan & Ritche

  • What is c.(Best Definition)
:- C is a programming language developed at AT&T'S bell laboratories at USA in 1972.

:- Designed and written by Dennis Ritchie.
Ø  It is popular because it is easy to use memory convenient and simple to use.

   Ø  To be able to learn higher level language like C++, JAVA, you must have the knowledge.

   Ø  If was supposed to be the origin from a basic level language called as B.

   Ø  This language survived from 3 decodes.







 What is Comment line in c.

What is Comment line in c


Description-

In the C Programming Language, you can put remarks in your source code that are not executed as a feature of the program.

Remarks give lucidity to the C source code permitting others to all the more likely comprehend what the code was planned to achieve and enormously helping in troubleshooting the code. Remarks are particularly significant in huge ventures containing hundreds or thousands of lines of source code or in projects in which numerous benefactors are chipping away at the source code.

·     A remark begins with a slice bullet/* and closes with a reference mark cut */and can be anyplace in your program. Remarks can traverse a few lines inside your C program. Remarks are ordinarily added straight over the connected C source code.

     Comment Line*

1. /* Statement */(Multiline comment)

Ex:-  /* 1

             1 2

             1 2 3 */

ii.  // Statement (Single comment)

Ex:- // It is my first Program.





What is data type in c.

          What is Data Type:-

  Ã¨     The data type of data is called datatype specify the type to data that a variable can store such as integer floating, Character, String e.t.c there are four types of data types.


rd    *How many types of data type.

i. Basic data type

ii. Drived data type

iii. Enmeration data type

iv.  Word data type.


Data Type

Used for

Example

String

Alphanumeric characters

hello world, Alice, Bob123

Integer

Whole numbers

7, 12, 999

Float (floating point)

Number with a decimal point

3.15, 9.06, 00.13

Character

Encoding text numerically

97 (in ASCII, 97 is a lower case 'a')

Boolean

Representing logical values

TRUE, FALSE



How Many types of ASCII table

How Many types of ASCII table

    ASCII Printable Characters

Char

Number

Description

 

0 - 31

Control characters (see below)

 

32

space

!

33

exclamation mark

"

34

quotation mark

#

35

number sign

$

36

dollar sign

%

37

percent sign

&

38

ampersand

'

39

apostrophe

(

40

left parenthesis

)

41

right parenthesis

*

42

asterisk

+

43

plus sign

,

44

comma

-

45

hyphen

.

46

period

/

47

slash

0

48

digit 0

1

49

digit 1

2

50

digit 2

3

51

digit 3

4

52

digit 4

5

53

digit 5

6

54

digit 6

7

55

digit 7

8

56

digit 8

9

57

digit 9

:

58

colon

;

59

semicolon

< 

60

less-than

=

61

equals-to

> 

62

greater-than

?

63

question mark

@

64

at sign

A

65

uppercase A

B

66

uppercase B

C

67

uppercase C

D

68

uppercase D

E

69

uppercase E

F

70

uppercase F

G

71

uppercase G

H

72

uppercase H

I

73

uppercase I

J

74

uppercase J

K

75

uppercase K

L

76

uppercase L

M

77

uppercase M

N

78

uppercase N

O

79

uppercase O

P

80

uppercase P

Q

81

uppercase Q

R

82

uppercase R

S

83

uppercase S

T

84

uppercase T

U

85

uppercase U

V

86

uppercase V

W

87

uppercase W

X

88

uppercase X

Y

89

uppercase Y

Z

90

uppercase Z

[

91

left square bracket

\

92

backslash

]

93

right square bracket

^

94

caret

_

95

underscore

`

96

grave accent

a

97

lowercase a

b

98

lowercase b

c

99

lowercase c

d

100

lowercase d

e

101

lowercase e

f

102

lowercase f

g

103

lowercase g

h

104

lowercase h

i

105

lowercase i

j

106

lowercase j

k

107

lowercase k

l

108

lowercase l

m

109

lowercase m

n

110

lowercase n

o

111

lowercase o

p

112

lowercase p

q

113

lowercase q

r

114

lowercase r

s

115

lowercase s

t

116

lowercase t

u

117

lowercase u

v

118

lowercase v

w

119

lowercase w

x

120

lowercase x

y

121

lowercase y

z

122

lowercase z

{

123

left curly brace

|

124

vertical bar

}

125

right curly brace

~

126

tilde

 

Post a Comment

0 Comments