ics c++ - getch(); } #include<stdio.h>

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
NAME ABDUL GHANI SHAHZAIB S/O: MOHAMMED ARIF CLASS BSCS-I SECTION A ROLL # 01 BATCH 2008-2012 SUBJECT INTRODUCTION TO COMPUTER SCIENCE TEACHER MISS QURUTALLAIN DEPARTMENTCOMPUTER SCIENCE DATE 10-03-08 UNIVERSITY KARACHI UNIVERSITY Q.1. Check if we take two main programs in one?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ans. #include<stdio.h> #include<conio.h> Main () { printf("Abdul Ghani Shahzaib");
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: getch(); } #include&lt;stdio.h&gt; #include&lt;conio.h&gt; Main () { printf(&quot;Abdul Ghani Shahzaib&quot;); getch(); } ERROR:-There cant be two main bodies in a program, so the program will print any of the value first. Q.2. Write down the difference between Syntax Error and Semantic Error? Ans....
View Full Document

Page1 / 8

ics c++ - getch(); } #include&amp;amp;lt;stdio.h&amp;amp;gt;

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online