SlideShare a Scribd company logo
Computer Project Work Getting started with C++ Guided by:-   Prepared by:- M. Ravi Kiran (sir)   K. Durga Prasad T.G.T computer.   X1 class M.P.C.Computers
In 1980s  bjarne Stroustrup  decided to extend the C language by adding some features from his favourite language  Simula 67.  Simula 67 was one of the earliest object oriented language. Bjarne Stroustrup called it “C with classes”. Later  Rick Mascitti  renamed as C++. Ever since its birth, C++ evolved to cope with problems encountered by users, and though discussions. INTRODUCTION
C++ CHARACTER SET Character set is a set of valid characters that a language can recognise. A character represents any letter, digit, or any other sign. Letters  A-Z,  a-z Digits  0-9 Special Symbols   Space + - * / ^ \ ( ) [ ]  { } = != < > . ‘ “ $  , ; : % ! & ? _(underscore) # <= >= @ White Spaces   Blank spaces, Horizontal tab, Carriage return, New line, Form feed. Other Characters   C++ can process any of the 256 ASCII  characters as data or as literals.
TOKENS(LEXICAL UNITS) The smallest individual unit in a   program is known as   a  Token  or  lexical unit. Types of Tokens Keywords Identifiers Literals Punctuators Operators
KEYWORDS Keywords are the words that convey a special meaning to the language compiler. These are reserved for special purpose and must not be used as normal identifier names.
Some of the keywords in c++ asm  continue  float  new  signed  try auto  default  for  operator sizeof typedef break  delete  friend  private  static  union case  do  goto  protected  struct  unsigned catch  double  if  public  switch  virtual char  else  inline  register  template  void class  enum  int  return  this  volatile const  extern  long  short  throw  while
Identifiers Identifiers are names of the program given by user. Rules to write identifiers Do not start with digits. No special symbols are used except _(underscore). No spaces are used. Examples:- myfile ,  date9_2_7_6
Literals Literals (constants) are data items that never change their value during a program run. Types of Literals: Integer constant Floating constants Character constant String literal
Integer constant Integer constants  are whole numbers without any fractional part. Three  types of Integer constants Decimal Integer constant Octal Integer constant Hexadecimal Integer constant
Decimal Integer constant An integer constant consisting of a sequence of digits is taken to  be decimal integer constant unless it begins with 0 (digit zero). Example:-  1296,  5642,  12,  +69,-  23,etc.,
Octal Integer constant A sequence of digits starting with0(digit zero) is taken to be an octal integer. Example:-123,  456, etc.,
Hexadecimal Integer constant A sequence of digits preceded by 0x or 0X is taken to be an hexadecimal integer. Example:-4B6,  A43,etc.,
Floating Constants Floating constants are also called as  Real constants Real constants   are numbers having fractional parts. These may be written in one of the two forms called  fractional form  or the  exponent form. Examples:-2.0, 3.5, 8.6, etc.,
Character constants A  Character constant  is one character enclosed in single quotes, as in ‘z’.  Examples:-  ‘a’,  ‘b’, etc.,
Escape sequences \a  Audible sound \b  back space \f  Formfeed \n  Newline or Linefeed \r  Carriage return \t  Horizontal tab \v  Vertical tab \\  Backslash \’  single quote \”  double quote \?  Question mark \on  Octal number \xHn  Hexadecimal number \0  Null
String Literals Multiple character  constants are treated as string literals. Examples:-”a” , “ade”, etc.,
Punctuators The following characters are used as punctuators. [ ]  ( )  { }  ,  ;  :  *  …  =  # Brackets  [ ] opening and closing brackets indicate single and multidimensional array subscripts. Parenthesis  ( )  these indicate function calls and function parameters.
Braces  {  }  these indicates the start and end of a compound statement. Comma  ,  it is used as separator in a function argument list. Semicolon  ;  it is used as statement terminator. Collon  :  it indicates a labeled statement. Asterisk  *  it is used for pointer declaration.
Ellipsis  …  Ellipsis (...) are used in the formal argument lists of the function prototype to indicate a variable number of argument. Equal to sign  =  It is used for variable initialisation and an assignment operator in expressions. Pound sign   #   this sign is used for preprocessor directive.
Operators Operators are tokens that trigger some computation when applied to variables and other objects in an expression. Types of operators Unary operators Binary operators Ternary operators
Unary operators Unary operators are those operators that require one operator to operate upon. Examples :-  +45, 5, -636,etc.,
Some unary operators &  Addresser operator *  Indirection operator +  Unary plus -  Unary minus ~  Bitwise complement ++  increment operator --  decrement operator !  Logical negation
Binary operators Binary operators are those operators that require two operands to operate upon. Types of Binary operators Arithmetic operators +( addition) –(subtraction) *(multiplication) /(division) %(reminder/modulus) Logical operators && (Logical AND)  || (Logical OR)
Relational operators <  (Less than) <=(Less than or equal to) >(Greater than) >=(greater than or equal to) == (equal to) != (not equal to)
A First look at C++ Program Why include iostream.h ? The header file  iostream.h  is included in every C++ program to implement  input/output  facilities. Input/output facilities are not defined within C++ language, but rather are implemented in a component of C++ standard library,  iostream.h  which is I/O library.
Predefined streams in I/O Library A stream is simply a sequence of bytes. The predefined stream objects for input, output, error as follows: Cin  cin stands for console input. Cout   cout stands for console output. Cerr  cerr stands for console error.
Comments in a C++ Program Comments are pieces of codes that the compiler discards or ignores or simply does not execute. Types of comments: Single line comments Multiline or block comments
These comments begins with //  are single line comments. The compiler simply ignores everything following // in that same line Example:- #include<iostream.h> Void main()  // the program about addition.  Single line comment
Multi line comments The block comments, mark the beginning of comment with /* and end with */. That means, everything  that falls between/* and*/ is considered as comment. Example:- #include<iostream.h> Void main()  /*the program is about addition*/
Using I/O operators Output operator   “ << “ The output operator (“<<“), also called  stream insertion operator  is used to direct a value top standard output. Input operator  “ >> ” The input operator(“>>“), also known as  stream extraction operator  is used to read a value from standard input.
Variable A  variable  refers to a storage area whose contents can vary during processing. Cascading of I/O operators The multiple use of input or output operators(“>>”or”<<“) in one statement is called cascading of I/O operators.
Role of compiler A part of the compiler’s job is to analyze the program code for ‘correctness’. If the meaning of the program is correct, then a compiler can not detect errors. Types of errors: Syntax Errors Semantic Errors Type Errors Run-time Errors Logical Errors
Syntax Errors   are occurred when rules of the program is misused  i.e.,  when grammatical rule of C++ is violated. Ex:- int a, b  (semicolon missing)  Semantic Errors   are occur when statements not meaningful. Ex:-  x*y=z; Type Errors   are occurred when the data types are misused. Ex:-int  a;  a=123.56;
Run-time Errors  are occurred at the time of execution. Logical Errors   are occurred when the logic of program is not proper. Ex:- ctr=1; While (ctr>10) { cout<<n*ctr; ctr=ctr+1; }
Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You

More Related Content

What's hot (20)

PPTX
Switch case in C++
Barani Govindarajan
 
PPT
Array in c
Ravi Gelani
 
PPTX
Python strings presentation
VedaGayathri1
 
PPTX
C programming - String
Achyut Devkota
 
PDF
Overview of python 2019
Samir Mohanty
 
PDF
Keywords, identifiers ,datatypes in C++
Ankur Pandey
 
PPTX
Variables in C++, data types in c++
Neeru Mittal
 
PPT
constants, variables and datatypes in C
Sahithi Naraparaju
 
PPTX
Structure in C
Kamal Acharya
 
PPT
Constants in C Programming
programming9
 
PPT
Arrays in c
vampugani
 
PPT
Strings
Mitali Chugh
 
PPT
pointers
teach4uin
 
PPTX
Pointers in c language
Tanmay Modi
 
PPTX
What is keyword in c programming
Rumman Ansari
 
PDF
Character Array and String
Tasnima Hamid
 
PPTX
Functions in c++
Rokonuzzaman Rony
 
PPTX
Strings in C language
P M Patil
 
PDF
Python tuples and Dictionary
Aswini Dharmaraj
 
Switch case in C++
Barani Govindarajan
 
Array in c
Ravi Gelani
 
Python strings presentation
VedaGayathri1
 
C programming - String
Achyut Devkota
 
Overview of python 2019
Samir Mohanty
 
Keywords, identifiers ,datatypes in C++
Ankur Pandey
 
Variables in C++, data types in c++
Neeru Mittal
 
constants, variables and datatypes in C
Sahithi Naraparaju
 
Structure in C
Kamal Acharya
 
Constants in C Programming
programming9
 
Arrays in c
vampugani
 
Strings
Mitali Chugh
 
pointers
teach4uin
 
Pointers in c language
Tanmay Modi
 
What is keyword in c programming
Rumman Ansari
 
Character Array and String
Tasnima Hamid
 
Functions in c++
Rokonuzzaman Rony
 
Strings in C language
P M Patil
 
Python tuples and Dictionary
Aswini Dharmaraj
 

Viewers also liked (20)

DOCX
Computer science project work
rahulchamp2345
 
PPTX
Tokens expressionsin C++
HalaiHansaika
 
PPTX
Laghu V Kutir Udyog (Small Scale Industries) लघु व कुटीर उद्योग (स्मॉल स्के...
Ajjay Kumar Gupta
 
PPTX
Computer project work
kartikwakekar
 
PPT
Data Handling
Praveen M Jigajinni
 
PPSX
Project work of computer sc
prakash9526
 
PPTX
Computer project work
S.L.B.S Engineering College
 
PPTX
A presentation on types of network
SUSHANT RATHOR
 
PPTX
Variables and data types in C++
Ameer Khan
 
PPTX
Overloading of io stream operators
SARAVANAN GOPALAKRISHNAN
 
PDF
C++ L01-Variables
Mohammad Shaker
 
PPTX
Types of computer networks
Harsh Sachdev
 
PPT
Computer project work [viii]2008 09
982665379
 
PPTX
Overview of programming paradigms
David-Frelin Johnson
 
PPTX
Lecture 2 C++ | Variable Scope, Operators in c++
Himanshu Kaushik
 
PPTX
MS Access teaching powerpoint tasks
skomadina
 
PPT
Input and output in C++
Nilesh Dalvi
 
PPTX
Stream classes in C++
Shyam Gupta
 
PPTX
हिंदी परियोजना कार्य
Aditya Chowdhary
 
ODP
New computer project
Bikram2001
 
Computer science project work
rahulchamp2345
 
Tokens expressionsin C++
HalaiHansaika
 
Laghu V Kutir Udyog (Small Scale Industries) लघु व कुटीर उद्योग (स्मॉल स्के...
Ajjay Kumar Gupta
 
Computer project work
kartikwakekar
 
Data Handling
Praveen M Jigajinni
 
Project work of computer sc
prakash9526
 
Computer project work
S.L.B.S Engineering College
 
A presentation on types of network
SUSHANT RATHOR
 
Variables and data types in C++
Ameer Khan
 
Overloading of io stream operators
SARAVANAN GOPALAKRISHNAN
 
C++ L01-Variables
Mohammad Shaker
 
Types of computer networks
Harsh Sachdev
 
Computer project work [viii]2008 09
982665379
 
Overview of programming paradigms
David-Frelin Johnson
 
Lecture 2 C++ | Variable Scope, Operators in c++
Himanshu Kaushik
 
MS Access teaching powerpoint tasks
skomadina
 
Input and output in C++
Nilesh Dalvi
 
Stream classes in C++
Shyam Gupta
 
हिंदी परियोजना कार्य
Aditya Chowdhary
 
New computer project
Bikram2001
 
Ad

Similar to Getting started with c++ (20)

PPSX
Getting started with c++.pptx
Akash Baruah
 
PPT
Unit 4 Foc
JAYA
 
PPT
Introduction to C Programming
MOHAMAD NOH AHMAD
 
PPTX
Getting started with C++
Asirbachan Sutar
 
PPTX
INTRODUCTION TO C++.pptx
MamataAnilgod
 
PPT
Getting Started with C++
Praveen M Jigajinni
 
PPT
02a fundamental c++ types, arithmetic
Manzoor ALam
 
PPTX
C_Programming_Language_tutorial__Autosaved_.pptx
Likhil181
 
PDF
Week 02_Development Environment of C++.pdf
salmankhizar3
 
PDF
C++
Shyam Khant
 
PPT
1 Revision Tour
Praveen M Jigajinni
 
ODP
CProgrammingTutorial
Muthuselvam RS
 
PPTX
C introduction
AswathyBAnil
 
PPTX
Mca i pic u-2 datatypes and variables in c language
Rai University
 
PPTX
datatypes and variables in c language
Rai University
 
PPTX
Bsc cs i pic u-2 datatypes and variables in c language
Rai University
 
PPTX
Diploma ii cfpc u-2 datatypes and variables in c language
Rai University
 
PPTX
Btech i pic u-2 datatypes and variables in c language
Rai University
 
PDF
C programing Tutorial
Mahira Banu
 
Getting started with c++.pptx
Akash Baruah
 
Unit 4 Foc
JAYA
 
Introduction to C Programming
MOHAMAD NOH AHMAD
 
Getting started with C++
Asirbachan Sutar
 
INTRODUCTION TO C++.pptx
MamataAnilgod
 
Getting Started with C++
Praveen M Jigajinni
 
02a fundamental c++ types, arithmetic
Manzoor ALam
 
C_Programming_Language_tutorial__Autosaved_.pptx
Likhil181
 
Week 02_Development Environment of C++.pdf
salmankhizar3
 
1 Revision Tour
Praveen M Jigajinni
 
CProgrammingTutorial
Muthuselvam RS
 
C introduction
AswathyBAnil
 
Mca i pic u-2 datatypes and variables in c language
Rai University
 
datatypes and variables in c language
Rai University
 
Bsc cs i pic u-2 datatypes and variables in c language
Rai University
 
Diploma ii cfpc u-2 datatypes and variables in c language
Rai University
 
Btech i pic u-2 datatypes and variables in c language
Rai University
 
C programing Tutorial
Mahira Banu
 
Ad

Recently uploaded (20)

PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PDF
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
Difference between write and update in odoo 18
Celine George
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Council of Chalcedon Re-Examined
Smiling Lungs
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
Introduction presentation of the patentbutler tool
MIPLM
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
Introduction to Indian Writing in English
Trushali Dodiya
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Difference between write and update in odoo 18
Celine George
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Council of Chalcedon Re-Examined
Smiling Lungs
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Introduction presentation of the patentbutler tool
MIPLM
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 

Getting started with c++

  • 1. Computer Project Work Getting started with C++ Guided by:- Prepared by:- M. Ravi Kiran (sir) K. Durga Prasad T.G.T computer. X1 class M.P.C.Computers
  • 2. In 1980s bjarne Stroustrup decided to extend the C language by adding some features from his favourite language Simula 67. Simula 67 was one of the earliest object oriented language. Bjarne Stroustrup called it “C with classes”. Later Rick Mascitti renamed as C++. Ever since its birth, C++ evolved to cope with problems encountered by users, and though discussions. INTRODUCTION
  • 3. C++ CHARACTER SET Character set is a set of valid characters that a language can recognise. A character represents any letter, digit, or any other sign. Letters A-Z, a-z Digits 0-9 Special Symbols Space + - * / ^ \ ( ) [ ] { } = != < > . ‘ “ $ , ; : % ! & ? _(underscore) # <= >= @ White Spaces Blank spaces, Horizontal tab, Carriage return, New line, Form feed. Other Characters C++ can process any of the 256 ASCII characters as data or as literals.
  • 4. TOKENS(LEXICAL UNITS) The smallest individual unit in a program is known as a Token or lexical unit. Types of Tokens Keywords Identifiers Literals Punctuators Operators
  • 5. KEYWORDS Keywords are the words that convey a special meaning to the language compiler. These are reserved for special purpose and must not be used as normal identifier names.
  • 6. Some of the keywords in c++ asm continue float new signed try auto default for operator sizeof typedef break delete friend private static union case do goto protected struct unsigned catch double if public switch virtual char else inline register template void class enum int return this volatile const extern long short throw while
  • 7. Identifiers Identifiers are names of the program given by user. Rules to write identifiers Do not start with digits. No special symbols are used except _(underscore). No spaces are used. Examples:- myfile , date9_2_7_6
  • 8. Literals Literals (constants) are data items that never change their value during a program run. Types of Literals: Integer constant Floating constants Character constant String literal
  • 9. Integer constant Integer constants are whole numbers without any fractional part. Three types of Integer constants Decimal Integer constant Octal Integer constant Hexadecimal Integer constant
  • 10. Decimal Integer constant An integer constant consisting of a sequence of digits is taken to be decimal integer constant unless it begins with 0 (digit zero). Example:- 1296, 5642, 12, +69,- 23,etc.,
  • 11. Octal Integer constant A sequence of digits starting with0(digit zero) is taken to be an octal integer. Example:-123, 456, etc.,
  • 12. Hexadecimal Integer constant A sequence of digits preceded by 0x or 0X is taken to be an hexadecimal integer. Example:-4B6, A43,etc.,
  • 13. Floating Constants Floating constants are also called as Real constants Real constants are numbers having fractional parts. These may be written in one of the two forms called fractional form or the exponent form. Examples:-2.0, 3.5, 8.6, etc.,
  • 14. Character constants A Character constant is one character enclosed in single quotes, as in ‘z’. Examples:- ‘a’, ‘b’, etc.,
  • 15. Escape sequences \a Audible sound \b back space \f Formfeed \n Newline or Linefeed \r Carriage return \t Horizontal tab \v Vertical tab \\ Backslash \’ single quote \” double quote \? Question mark \on Octal number \xHn Hexadecimal number \0 Null
  • 16. String Literals Multiple character constants are treated as string literals. Examples:-”a” , “ade”, etc.,
  • 17. Punctuators The following characters are used as punctuators. [ ] ( ) { } , ; : * … = # Brackets [ ] opening and closing brackets indicate single and multidimensional array subscripts. Parenthesis ( ) these indicate function calls and function parameters.
  • 18. Braces { } these indicates the start and end of a compound statement. Comma , it is used as separator in a function argument list. Semicolon ; it is used as statement terminator. Collon : it indicates a labeled statement. Asterisk * it is used for pointer declaration.
  • 19. Ellipsis … Ellipsis (...) are used in the formal argument lists of the function prototype to indicate a variable number of argument. Equal to sign = It is used for variable initialisation and an assignment operator in expressions. Pound sign # this sign is used for preprocessor directive.
  • 20. Operators Operators are tokens that trigger some computation when applied to variables and other objects in an expression. Types of operators Unary operators Binary operators Ternary operators
  • 21. Unary operators Unary operators are those operators that require one operator to operate upon. Examples :- +45, 5, -636,etc.,
  • 22. Some unary operators & Addresser operator * Indirection operator + Unary plus - Unary minus ~ Bitwise complement ++ increment operator -- decrement operator ! Logical negation
  • 23. Binary operators Binary operators are those operators that require two operands to operate upon. Types of Binary operators Arithmetic operators +( addition) –(subtraction) *(multiplication) /(division) %(reminder/modulus) Logical operators && (Logical AND) || (Logical OR)
  • 24. Relational operators < (Less than) <=(Less than or equal to) >(Greater than) >=(greater than or equal to) == (equal to) != (not equal to)
  • 25. A First look at C++ Program Why include iostream.h ? The header file iostream.h is included in every C++ program to implement input/output facilities. Input/output facilities are not defined within C++ language, but rather are implemented in a component of C++ standard library, iostream.h which is I/O library.
  • 26. Predefined streams in I/O Library A stream is simply a sequence of bytes. The predefined stream objects for input, output, error as follows: Cin cin stands for console input. Cout cout stands for console output. Cerr cerr stands for console error.
  • 27. Comments in a C++ Program Comments are pieces of codes that the compiler discards or ignores or simply does not execute. Types of comments: Single line comments Multiline or block comments
  • 28. These comments begins with // are single line comments. The compiler simply ignores everything following // in that same line Example:- #include<iostream.h> Void main() // the program about addition. Single line comment
  • 29. Multi line comments The block comments, mark the beginning of comment with /* and end with */. That means, everything that falls between/* and*/ is considered as comment. Example:- #include<iostream.h> Void main() /*the program is about addition*/
  • 30. Using I/O operators Output operator “ << “ The output operator (“<<“), also called stream insertion operator is used to direct a value top standard output. Input operator “ >> ” The input operator(“>>“), also known as stream extraction operator is used to read a value from standard input.
  • 31. Variable A variable refers to a storage area whose contents can vary during processing. Cascading of I/O operators The multiple use of input or output operators(“>>”or”<<“) in one statement is called cascading of I/O operators.
  • 32. Role of compiler A part of the compiler’s job is to analyze the program code for ‘correctness’. If the meaning of the program is correct, then a compiler can not detect errors. Types of errors: Syntax Errors Semantic Errors Type Errors Run-time Errors Logical Errors
  • 33. Syntax Errors are occurred when rules of the program is misused i.e., when grammatical rule of C++ is violated. Ex:- int a, b (semicolon missing) Semantic Errors are occur when statements not meaningful. Ex:- x*y=z; Type Errors are occurred when the data types are misused. Ex:-int a; a=123.56;
  • 34. Run-time Errors are occurred at the time of execution. Logical Errors are occurred when the logic of program is not proper. Ex:- ctr=1; While (ctr>10) { cout<<n*ctr; ctr=ctr+1; }
  • 35. Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You