Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

_____________________________________________________________________________________

Introduction to Computers & Engineering (GEN N004) Faculty of Engineering


Lab assignment 1, Spring 2007 Cairo University
Name: Group: B.N.
_____________________________________________________________________________________

1. How many megabytes (MBs) of RAM does you lab computer have? How did you figure this out?

2. How many gigabytes (GBs) of storage does your computer hard disk allow? How did you figure this
out?

3. Write, compile and run the following C program on your system.

#include <stdio.h>

main( )
{
printf (“Hello. My name is …”);
}

4. What happens if you change the printf statement to:


printf (“Hello.
My name is …”);

5. What happens if you change the printf statement to:


printf (“Hello. \n My name is …”);

You might also like