Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Basics of C

Beoordeling
-
Verkocht
-
Pagina's
2
Geüpload op
09-03-2023
Geschreven in
2022/2023

introduction to c and a lot of inbuilt programs . loops has been discussed and how to define variables has been discussed

Instelling
Vak

Voorbeeld van de inhoud

C is a high-level language founded in 1972 atNK] & T Bell LAbs. It was
founded by Mr.. Dennis Ritchie. She became very popular because of its
large future lists and speed. Most of the operating systems. Embedded
programs that are used for microprocessors and games are built using C
language.. There are many format specifiers in C language. However, we
are going to use % C % D and % if for now and rest of the format
specified will be checking in the next lecture.. THe. Most commonly used
functions are printf and Scanf because we 'll be requiring this functions
quite often so I am covering this in the initial lecture only. IN C language
constants are of two types, primary constants and secondary constant.
primary constants in C are integer a real and character. secondary
constants arrays pointer structure Union in M. These are secondary.
Constants. character sets and constants available in C language. The
character seat in C has all alphabet starting from capital E to said small a
small Z all digits from 0 to 9..

A variable name must start with an alphabet or underscore, and variable
must not be an keyword as we have seen in the earlier lecture In flowed
cat are used as data types in C. So obviously, you can not have a variable
name as int float or care. variables should not contain any special
character, but it can contain an underscore.. variables must be assigned
value at the time of declaration otherwise it will hold some random
value.. C language has wide variety of operators which are available in C
language. Assignment operators which is equal to plus equal equal to
minus equal to. assignment operators. arithmetic operators so plus
minus. Instead of multiplication like X, we use star operator in C as a
multiplication operator, then division and then modulo division as well..
IN. This lecture, we are going to learn about decision control structure in
C language.. ##NK] [UNK] are learning programming programming, so
what are decisions when we have a question and it has two answers like.
If I asked you would like to have a tea. Your answer could be yes and no
now. Depending on your choice. I can offer you either a tea or maybe I
can ask you something else".

ALl decision control structures will have a condition associated with it. So
every condition will hold a result which can be evaluated to either true or
false. A greater than B a greater than 10. 0 & 1 is a larger number. In this
lecture we are going to check syntax for decision control structure. There
are three logical operators in C, which are denoted by double ampersand,
operator and operator. IF both the expressions or both the conditions are
true then that complete expression which includes two conditions will be
true else it will be considered as false in case of or operator. In case of
not operator. It will just negate result of my existing existing condition..
conditional operators are used as shorthand method for writing your
decision controller structure. However, they make it little difficult to
read.. Conditional operators can also be used as assigning values to a

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
9 maart 2023
Aantal pagina's
2
Geschreven in
2022/2023
Type
College aantekeningen
Docent(en)
Alagiri
Bevat
Alle colleges

Onderwerpen

$8.79
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
ravanthsenthil

Maak kennis met de verkoper

Seller avatar
ravanthsenthil VIT
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
3 jaar
Aantal volgers
0
Documenten
1
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen