Difference between Python and C , Python and C++, Python and java


Sr No.Python LanguageC Language
1.Python language is developed by Guido van Rossum in 1991C Language developed by Dennis Ritchie in 1972
2.In Python Data type declaration is not requirein C Language Data type declaration is require
3.Python language is easy & short syntaxC language  is complex & long syntax

4.
Python Does not use pointer (*)C language Use Pointer (*)

5.
Python language is Slower then c languageC language is faster then python

6.
In python Language use (in) keyword for increment in
' for loop ' 
In C language the vibrable does not increment automatically in a
' for loop ' 

7.
implication of stack & queue is easier in python implication of stack & queue is difficult in c language 

8.
Python support exception handling  C language does not support exception handling  

9.
Python using new line for terminationC language using semicolon for termination

10.
Syntax: 
print(" // code ");
Syntax:
# include<stdio.h>
# include<conio.h>
void main(){
 // code
}

11.
In python use for save file (.py) extensionIn C language use for save file (.c) extension
Sr No.Python LanguageC ++ Language
1.Python language is developed by Guido van Rossum in 1991C++ Language developed by Bjarne Stroustrup in 1979 and released in 1982 
2.Python developed in  CPython, Jython, PyCharm C++ Language developed in Turbo c++ & Dev c++
3.Python provide automatically garbage collection  C++ language  does not provide automatically garbage collection  

4.
Python Does not use pointer (*)C++ language Use Pointer (*)

5.
Python language is Slower then c languageC++ language is faster then python

6.
In python Language use (in) keyword for increment in
' for loop ' 
In C++ language the vibrable does not increment automatically in a
' for loop ' 

7.
implication of stack & queue is easier in python implication of stack & queue is difficult in c++ language 

8.
Python support exception handling  C++ language does not support exception handling  

9.
Python using new line for terminationC++ language using semicolon for termination

10.
Syntax: 
print(" // code ");
Syntax:
# include<iostream.h>
# include<conio.h>
void main(){
 // code
}

11.
In python use for save file (.py) extensionIn C ++ language use for save file (.cpp) extension
Sr No.Python LanguageJava Language
1.Python language is developed by Guido van Rossum in 1991JAVA is developed by James Gosling in 1995
2.Python latest version is Python 13.12.4java latest version is java 22
3.Python language is easy & short syntaxjava is complex & long syntax

4.
Python has few lines of code java has long line of code 

5.
Python language is Slower then c languagejava is faster then python

6.
Python tack less time to developed java tack more time to developed  

7.
Python is Dynamic languageJava is static language 

8.
Python is use while space to make the beginning & ending of bodyjava is use Curly braces to signify the beginning and ending the body  

9.
Python use new line for terminationjava using semicolon for termination

10.
Syntax: 
print(" // code ");
Syntax:
public class class_name{
    public static void main(){
         system.out.println(" //code ");
    }
}

11.
In python use for save file (.py) extensionIn java language use for save file (.java) extension

Comments

Popular posts from this blog

DSA Lab 8 program

DSA Lab 7 Program

Network Layer: Design Issues and Key Concepts