answersLogoWhite

0


Best Answer

They are very similar,but when we do logic operators there are still some differences.In c or c plus plus ,logic true can be expressed as'true' or '0',but in java,true is just 'true'.If you gave a zero,it will treat it as type of integer ,and so as false.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Compare java arithmetic and logic operators with c arithmetic and logical operators?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Which arithmetic operator have highest precedence?

In all popular high-level programming languages, the order in which operators are interpreted ("operator precedence") is vital to ensuring that all compilers execute instructions in precisely the same manner, as the "order of operations" rule is vital in mathematics. In the case of C and C++, arithmetic operators are executed prior to logic operators. For a detailed description of operator precedence, see the related links below.


The control unit and the arithmetic logic unit are located in the?

CPU


What are the various operators available in c language?

There are eight types of operators which are used in C language.These are- 1.Arithmetic operator 2.Assignment operator 3.Relational operator 4.Increment/Decrement operator 5.Bitwise operator 6.Logical operator 7.Conditional operator 8.Additional operator 1.Arithmetic operator:Arithmetic operators are mathmetical operator.These are addition,Subtraction,Multiplication and divison. 2.Assignment operator:Assignment operators are used to store the result of an expression to a variable.


Describe the role of arithmetic and logic unit and control unit in a computer system?

Does the Mathematical calculations in the computer.


What is von-neumann archtecture and explain it with the help of diagram?

von neumann is the of person who first time notice data and instruction can resides in a single memory. he proposed that there should be a unit performing arithmetic and logical operation on data. these unit termed as arithmetic- logic unit He also gave another concept regarding logic components and their connection in specific fashion. All the components should be control by control unit. The memory unit stores all the information in a group of memory cell,also called memory location where data and instruction can resides in binary form

Related questions

ALU stand for?

Arithmetic logic unit


What performs arithmetic and logic calculations?

There is a special part of the CPU that performs Arithmetic and Logical calculations. Its called Arithmetic Logic Unit ( ALU ).


Performs logical and arithmetic processes?

logic unit


What are the functions of arithmetic logic unit?

The Arithmetic Logic Unit as suggested by the name carries out the arithmetic calculations of the computer.


The unit that performs the arithmetic and logical operations within the processor?

The unit that performs the arithmetic and logical operations within the processor is called the Arithmetic Logic Unit (ALU).


The component of the processor that performs arithmetic comparsion and logical operations?

The arithmetic logic unit is a digital circuit that is part of the CPU. Its main functions are to do arithmetic and logic operations.


Performs the logical and arithmetic process in a computer?

i think i the logic unit


What is the section of the CPU that performs arithmetic involving integers and logical operations?

The ALU (Arithmetic/Logic Unit)


What is a Arithmetic logical unit?

The Arithmetic Logic Unit (ALU) is the heart of a CPU. This is what allows the computer to add, subtract, and to perform basic logical operations.


Which part of CPU perform logical function?

ALU-Arithmetic and logic unit.


What is the full form ALU?

In computing, an arithmetic logic unit ( ALU) is a digital circuit that performs arithmetic and logical operations.


What to arithmetic logic units do in GPUs?

alu is for the logical and arithmetical operations in the system unit.