Z00810020120164088COMP6047 (T) Pert 5 - Introduction To C Programming
Z00810020120164088COMP6047 (T) Pert 5 - Introduction To C Programming
Introduction to C Programming I
Learning Outcomes
At the end of this session, student will be able to:
• Define element and structure of C programming language (LO1
& LO2)
• Portability
Used from micro computer to super computer
#include is a directive
#include<stdio.h>
int main() command to tell the
{ computer to search for
printf (“Welcome to BINUS\n”);
return(0); printf function prototype
} at header file stdio.h as
well
#include<stdio.h>
int main(){
printf (“Welcome to BINUS\n”);
return (0);
}
}
// This program will simply print out a message
• ASCII
American Standards Committee for Information Interchange
http://www.asciitable.com/
Keywords in Visual
C++ use blue color