SlideShare a Scribd company logo
1 of 5
Download to read offline
H C
10:
.
1. char
2. O ASCII
3. char
.
1.
2. !
3. gets puts
4. " # string.h
$.
! " #
.
1. ! " # # $ char
C " # # $ char " % & " .
" & $ # " ! ' # # "
( !
) % % " 0 * 255.
+ " % ( "% , & "% $ ASCII
$# * , " % %
'" & $ # % , %,
" % , ($ "% ASCII.
- " " . :
char " % $ , $
char " % $ , $
$! " #
A.
2. ! "% ASCII
%! " #
% " % % "% $ ASCII. / # (
% " % .
.
A.
3. * " char
&! " #
* # $ :
ch ". . a "
# " :
0% $ % ASCII $# :
0% $ " :
! ' " % , " "
" $ & 1 &$& !
0"% " # " printf & " # # $ % %c.
) " "* :
char ch;
ch=97;
ch='a';
printf("%c",ch);
A.
3. * " char
'! " #
/ . " & " # % "$ " %,
" & C
/* char.c */
#include <stdio.h>
main()
{
char c;
for (c=80; c<=100; c++)
{
printf("nO xaraktiras %d einai %c",c,c);
}
}
* & "$ ASCII 128-255 " " # * c
unsigned char.
2.
1. / %
(! " #
" " " * & " % " % "
. % , # # % "
.
C &% # * " "% " . ) # $ :
* "% " 20 , " 19 $ .
3! ! 4! 0% " 19 $ ( 20) # "
" %, # 0 (slash # ).
" # & «hello» " $ . :
char str[20];
str[0] str[1] str[2] str[3]
…
str[4] str[5]
h e l l o 0
str[20]
2.
1. / %
)! " #
4 " % " % &% # $ " :
& $ " " % # . :
0"% & ( " , " * # " &$&
+ " " # " % * ( " # & 3
:
$ # * " $
# % , # " " " " ( " (
)
char pin[3]={'a','b','0'};
char pin[3]="ab";
char *pin="ab"; char pin[]="ab";
2.
2. 0 "$ %
*! " #
"$ ( printf) & $ ( scanf)
" % " # %s.
" " % " %!
% % "% $ , ( % "% ,
% # % # . .
) scanf # " " & .
" # & # * % :
/ "$ &% :
0 * # &% :
char string[100];
printf("%s",string);
scanf("%s",string);
2.
2. 0 "$ %
! " #
/ . " & & % # " *
«teststring» " «test string» (" * $ % )
# % " .
/* string.c: Deixnei tin xrisi tis scanf kai tis printf me
simvoloseires */
#include <stdio.h>
main()
{
char string[80];
printf("Dwste mia simboloseira: ");
scanf("%s",string);
printf("Pliktrologisate tin simvoloseira: %s",string);
}
2.
3. ! gets puts
! " #
' & % scanf, # , "
& & " & " * " & .
" " & ( , "
gets " " $ " :
4 " string "
# , " , " . 0%
:
%# %, puts " "*
" # $ " ‘n’:
"% %
char *gets(char *string)
int puts(char *string)
stdio.h
stdio.h
2.
4. 4 string.h
! " #
0%# % " * &$& .
0" # # % * % # # % C, % %
, :
" % %, " " " . & % * .
0 % %, "$ :
4 " % & ( src dest.
+ :
" ( " $ $ string.
5 # "
string.h
int strlen(char *string)
void strcpy(char *dest, char *src)
.
1.
$! " #
/ " $ $ ( # 0) (
.
+ % " $ " int mystrlen(char *s) " # $ %
" ( .
1 " & C, " % # , " % #
gets " " &%, "*
4 int strlen(char *s) " % string.h % * & "
" & ( " " $.
.
2. & ( *
%! " #
+ % " $ " char *mystrcpy(char *dest, char *src) " #
$ % # & ( src dest.
4 " ( # % dest.
1 " & C, " % # , " % # #
gets " #% % " & & & 1 " " #
" % % % . / "*
.
4 char *strcpy(char *dest, char *src) " % string.h % *
& " " & ( " " $.
.
3. " + ( %
&! " #
1 " & " # , " "
& % ( % "* "
6" # %. :
* % & (". . 150 $ )
" "% $ ASCII # (
" % ( % 32 * .
( % , " % %. "* %
"% ASCII & # % " % %.
" ( % " gets scanf & " & .
.
4. ( " % 0. #
'! " #
% 2 " $ "% ASCII (128-255) " "
" # " & " " % " % .
" & "* ( ,% " ):
Hello World!Hello World!
.
5. & *
(! " #
+ " & C " % :
7 # , # . ( " & " % &
" & )
7 " & " % ( & $ * "*
.
# & " :
Dwse tin 1i simvoloseira: test
Dwse tin 2i simvoloseira: abba
=====
Isxyei: abba < test
& " % int strcmp(char *s1, char *s2) string.h
" % "

More Related Content

What's hot

Оцифрованные дети
Оцифрованные детиОцифрованные дети
Оцифрованные дети
Andrei Mamontov
 
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
Michael Changaris
 
Monthly report functional - may 2013
Monthly report   functional - may 2013Monthly report   functional - may 2013
Monthly report functional - may 2013
Leonardo Silveira
 
Independent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for EducationIndependent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for Education
Burton12j
 
Ico corporate presentation en
Ico corporate presentation enIco corporate presentation en
Ico corporate presentation en
Harpreet kaur
 

What's hot (20)

PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...
PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...
PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...
 
Guardian Changing Media Summit - Mobile In Focus
Guardian Changing Media Summit - Mobile In FocusGuardian Changing Media Summit - Mobile In Focus
Guardian Changing Media Summit - Mobile In Focus
 
Nota 041109
Nota 041109Nota 041109
Nota 041109
 
Carlos Santos - be IN Minho
Carlos Santos - be IN MinhoCarlos Santos - be IN Minho
Carlos Santos - be IN Minho
 
Thai Alcoholic Beverages Regulations 2011
Thai Alcoholic Beverages Regulations 2011Thai Alcoholic Beverages Regulations 2011
Thai Alcoholic Beverages Regulations 2011
 
Marketing Digital - parte 3
Marketing Digital - parte 3Marketing Digital - parte 3
Marketing Digital - parte 3
 
Bio Startup Spinoff 2010
Bio Startup Spinoff 2010Bio Startup Spinoff 2010
Bio Startup Spinoff 2010
 
IBC_Profile
IBC_ProfileIBC_Profile
IBC_Profile
 
Lessons RN labor union learned using social media in 2010
Lessons RN labor union learned using social media in 2010Lessons RN labor union learned using social media in 2010
Lessons RN labor union learned using social media in 2010
 
Cara membuat diagram_alir(1)
Cara membuat diagram_alir(1)Cara membuat diagram_alir(1)
Cara membuat diagram_alir(1)
 
Cre Referral Flier
Cre Referral FlierCre Referral Flier
Cre Referral Flier
 
RACC -Comparativa Bicis Publicas full_v120625_def
RACC -Comparativa Bicis Publicas full_v120625_defRACC -Comparativa Bicis Publicas full_v120625_def
RACC -Comparativa Bicis Publicas full_v120625_def
 
Оцифрованные дети
Оцифрованные детиОцифрованные дети
Оцифрованные дети
 
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
 
Oisin Lunny OpenMarket IoF National Convention 2014
Oisin Lunny OpenMarket IoF National Convention 2014Oisin Lunny OpenMarket IoF National Convention 2014
Oisin Lunny OpenMarket IoF National Convention 2014
 
Genius
GeniusGenius
Genius
 
Genius
GeniusGenius
Genius
 
Monthly report functional - may 2013
Monthly report   functional - may 2013Monthly report   functional - may 2013
Monthly report functional - may 2013
 
Independent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for EducationIndependent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for Education
 
Ico corporate presentation en
Ico corporate presentation enIco corporate presentation en
Ico corporate presentation en
 

Viewers also liked

Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Dimitris Psounis
 

Viewers also liked (8)

ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
 
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12
 
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
 
Η Γλώσσα C - Μάθημα 1
Η Γλώσσα C - Μάθημα 1Η Γλώσσα C - Μάθημα 1
Η Γλώσσα C - Μάθημα 1
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11
 

Similar to ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 (ΕΚΤΥΠΩΣΗ)

Magazine Anim Art
Magazine Anim ArtMagazine Anim Art
Magazine Anim Art
Student
 
Pet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning companyPet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning company
Absolute Best Carpet Cleaners
 
Ssijialiye
SsijialiyeSsijialiye
Ssijialiye
renata7
 
Fusion 06 2003
Fusion 06 2003Fusion 06 2003
Fusion 06 2003
rukford1
 
Danos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estadoDanos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estado
Informa Jurídico
 
illustration art market report illustrated gallery
illustration art market report illustrated galleryillustration art market report illustrated gallery
illustration art market report illustrated gallery
Ingrid Bond
 
Un petit guide de la domination du monde
Un petit guide de la domination du mondeUn petit guide de la domination du monde
Un petit guide de la domination du monde
Geoffrey Dorne
 
GCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeatureGCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeature
Caroline Newson
 

Similar to ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 (ΕΚΤΥΠΩΣΗ) (20)

Magazine Anim Art
Magazine Anim ArtMagazine Anim Art
Magazine Anim Art
 
ภาษา C
ภาษา Cภาษา C
ภาษา C
 
Pet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning companyPet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning company
 
Ssijialiye
SsijialiyeSsijialiye
Ssijialiye
 
WALA Tutorial at PLDI 2010
WALA Tutorial at PLDI 2010WALA Tutorial at PLDI 2010
WALA Tutorial at PLDI 2010
 
Projet Sponsoring Paris Football Club
Projet Sponsoring Paris Football ClubProjet Sponsoring Paris Football Club
Projet Sponsoring Paris Football Club
 
Perrée &amp; Partners, Collectief Pensioen
Perrée &amp; Partners, Collectief PensioenPerrée &amp; Partners, Collectief Pensioen
Perrée &amp; Partners, Collectief Pensioen
 
Fusion 06 2003
Fusion 06 2003Fusion 06 2003
Fusion 06 2003
 
Danos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estadoDanos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estado
 
illustration art market report illustrated gallery
illustration art market report illustrated galleryillustration art market report illustrated gallery
illustration art market report illustrated gallery
 
Cuento 1
Cuento 1Cuento 1
Cuento 1
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Un petit guide de la domination du monde
Un petit guide de la domination du mondeUn petit guide de la domination du monde
Un petit guide de la domination du monde
 
Vietnam language learning behaviors
Vietnam language learning behaviorsVietnam language learning behaviors
Vietnam language learning behaviors
 
Proactief Netwerken
Proactief NetwerkenProactief Netwerken
Proactief Netwerken
 
De webmaster is niet meer (beknopte versie)
De webmaster is niet meer  (beknopte versie)De webmaster is niet meer  (beknopte versie)
De webmaster is niet meer (beknopte versie)
 
GCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeatureGCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeature
 

More from Dimitris Psounis

ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
Dimitris Psounis
 
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6 ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
Dimitris Psounis
 

More from Dimitris Psounis (20)

Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣΗ ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ
 
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)
 
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)
 
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ
 
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣΗ ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ
 
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
 
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ CC++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C
 
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)
 
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
 
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
 
ΠΛΗ31 - ΤΕΣΤ 33
ΠΛΗ31 - ΤΕΣΤ 33ΠΛΗ31 - ΤΕΣΤ 33
ΠΛΗ31 - ΤΕΣΤ 33
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6 ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 

ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 (ΕΚΤΥΠΩΣΗ)

  • 1. H C 10: . 1. char 2. O ASCII 3. char . 1. 2. ! 3. gets puts 4. " # string.h $. ! " # . 1. ! " # # $ char C " # # $ char " % & " . " & $ # " ! ' # # " ( ! ) % % " 0 * 255. + " % ( "% , & "% $ ASCII $# * , " % % '" & $ # % , %, " % , ($ "% ASCII. - " " . : char " % $ , $ char " % $ , $ $! " # A. 2. ! "% ASCII %! " # % " % % "% $ ASCII. / # ( % " % . .
  • 2. A. 3. * " char &! " # * # $ : ch ". . a " # " : 0% $ % ASCII $# : 0% $ " : ! ' " % , " " " $ & 1 &$& ! 0"% " # " printf & " # # $ % %c. ) " "* : char ch; ch=97; ch='a'; printf("%c",ch); A. 3. * " char '! " # / . " & " # % "$ " %, " & C /* char.c */ #include <stdio.h> main() { char c; for (c=80; c<=100; c++) { printf("nO xaraktiras %d einai %c",c,c); } } * & "$ ASCII 128-255 " " # * c unsigned char. 2. 1. / % (! " # " " " * & " % " % " . % , # # % " . C &% # * " "% " . ) # $ : * "% " 20 , " 19 $ . 3! ! 4! 0% " 19 $ ( 20) # " " %, # 0 (slash # ). " # & «hello» " $ . : char str[20]; str[0] str[1] str[2] str[3] … str[4] str[5] h e l l o 0 str[20] 2. 1. / % )! " # 4 " % " % &% # $ " : & $ " " % # . : 0"% & ( " , " * # " &$& + " " # " % * ( " # & 3 : $ # * " $ # % , # " " " " ( " ( ) char pin[3]={'a','b','0'}; char pin[3]="ab"; char *pin="ab"; char pin[]="ab";
  • 3. 2. 2. 0 "$ % *! " # "$ ( printf) & $ ( scanf) " % " # %s. " " % " %! % % "% $ , ( % "% , % # % # . . ) scanf # " " & . " # & # * % : / "$ &% : 0 * # &% : char string[100]; printf("%s",string); scanf("%s",string); 2. 2. 0 "$ % ! " # / . " & & % # " * «teststring» " «test string» (" * $ % ) # % " . /* string.c: Deixnei tin xrisi tis scanf kai tis printf me simvoloseires */ #include <stdio.h> main() { char string[80]; printf("Dwste mia simboloseira: "); scanf("%s",string); printf("Pliktrologisate tin simvoloseira: %s",string); } 2. 3. ! gets puts ! " # ' & % scanf, # , " & & " & " * " & . " " & ( , " gets " " $ " : 4 " string " # , " , " . 0% : %# %, puts " "* " # $ " ‘n’: "% % char *gets(char *string) int puts(char *string) stdio.h stdio.h 2. 4. 4 string.h ! " # 0%# % " * &$& . 0" # # % * % # # % C, % % , : " % %, " " " . & % * . 0 % %, "$ : 4 " % & ( src dest. + : " ( " $ $ string. 5 # " string.h int strlen(char *string) void strcpy(char *dest, char *src)
  • 4. . 1. $! " # / " $ $ ( # 0) ( . + % " $ " int mystrlen(char *s) " # $ % " ( . 1 " & C, " % # , " % # gets " " &%, "* 4 int strlen(char *s) " % string.h % * & " " & ( " " $. . 2. & ( * %! " # + % " $ " char *mystrcpy(char *dest, char *src) " # $ % # & ( src dest. 4 " ( # % dest. 1 " & C, " % # , " % # # gets " #% % " & & & 1 " " # " % % % . / "* . 4 char *strcpy(char *dest, char *src) " % string.h % * & " " & ( " " $. . 3. " + ( % &! " # 1 " & " # , " " & % ( % "* " 6" # %. : * % & (". . 150 $ ) " "% $ ASCII # ( " % ( % 32 * . ( % , " % %. "* % "% ASCII & # % " % %. " ( % " gets scanf & " & . . 4. ( " % 0. # '! " # % 2 " $ "% ASCII (128-255) " " " # " & " " % " % . " & "* ( ,% " ): Hello World!Hello World!
  • 5. . 5. & * (! " # + " & C " % : 7 # , # . ( " & " % & " & ) 7 " & " % ( & $ * "* . # & " : Dwse tin 1i simvoloseira: test Dwse tin 2i simvoloseira: abba ===== Isxyei: abba < test & " % int strcmp(char *s1, char *s2) string.h " % "