You are on page 1of 2

System software

Application software
utilities.
Programming Environment
----------------------Where do we perform coding
- Notepad(Turbo C editior)
Step involed
------------Compilation
----------Source code-- High level language - Human readable language.
#include<stdio.h>
void main()
{
printf("Hi");
}
To convert a human readable code to machine.
Convert the source code in to obj.
Hello.c------->Hello.obj.(object code)
We have to execute a c program - .exe--executable.
Intrepreter
----------executes the program line by line and program outputs the data.
Libraries
---------predefined functions of c language.
#include<stdio.h>
stdio.h
-------scanf();
printf();
Assignment No1: List atleast 20 predefined function available in
stdio.h header File.
Execution Environment
---------------------???

#include<stdio.h>
void main()
{
int a=10,b=20,c;
c=a+b;
printf("%d",c);
sub();
}
void sub()
{
}
My Question ???
1.Where a,b,c variables are stored
2.Where my functions are stored.
????
3. 10,20
Data stored will be stack memory.
Assignment No 2:
What is stack?
push
pop
Try to collect application of Stack?
eg: functioncalls.

eg:
Hello.java------>Hello.class(byte code)

You might also like