Skip to content

Latest commit

 

History

History

002_Dec2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

December 2

C and C++

C C++
1972, Dennis Ritchie 1976-80, Bjarne Sroup Strup
AT and I Beed Lab AT & I Beed Lab
Header File
#include <stdio.h>
Header File
#include <iostream>
32 Keyword 63 Keyword
Function Driven Object Driven
No use of access modifier Access Modifier are used
Printf,scanf, are used for input cin,cout is used for input

Data Types

1. Built-In

  • int
  • void
  • char
  • boolen
  • float
  • double
  • wide
  • string

2. User Defined

  • Structure
  • Union
  • Enum
  • Class

3. Derived

  • Array
  • Function
  • Pointer

Example

int a = 5;
float b = 2.5;
double c = 123.432;
bool isMale = True;
char a = 'A';
wchar_t tchar="Sanothimi Campus";