GeekInterview.com
Series: Subject: Topic:
Question: 35 of 40

Define Operator, Operand, and Expression in 'C'?

Operators are symbols which take one or more operands or expressions and perform arithmetic or logical computations.

Broadly speaking the types of operators available in C are as follows:
  • Arithmetic

  • Assignment

  • Logical/relational

  • Bitwise

These have operators under each as follows namely:

Arithmetic operators present in C are
+   For performing Addition
-   For performing Subtraction
/   For performing Division
*   For performing Multiplication
%   Modulo for finding remainder in division operation
--  Decrement (post and pre)
++  Increment (post and pre)
Assignment operatorspresent in C are as follows:
=   
*=   Multiply
/=   Divide
%=   Modulus
+=   Add
-=  Subtract
Logical/relational operators present in C are as follows:
==   Equal to
!=   Not Equal to
>   Greater than
<   Less than
>=   Greater than or equal to
<=   Less than or equal to
&&   Logical AND
||   Logical OR
!   Logical NOT
Bitwise operators present in C are
&   AND
|   Inclusive OR
^   Exclusive OR
<<   Shift Left
>>   Shift Right
~   One's compliment
Operands are variables or expressions which are used in operators to evaluate the expression.

Combination of operands and operators form an expression.

For instance a = b + c; denote an expression in which there are 3 operands namely a, b, c and one operator namely +.

The association of expressions and keywords is called Statements.

For instance int a = b + c; denote a statement.
Asked by: GeekAdmin | Member Since Oct-2005 | Asked on: Jul 2nd, 2006

View all questions by GeekAdmin   View all answers by GeekAdmin

Showing Answers 1 - 1 of 1 Answers
cpsingh

Answered On : Jul 21st, 2007

statement a=b+c have 3 operands(a,b,c) and 2 operators(+, =).

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

User Panel

Categories

.Net Testing

Aalayance Inc

ABAP

Abinitio

Abinitio

Accenture

Accounting

Accounting Reports

Accounts Payable

Accounts Receivables

Ado.NET

Adobe

AJAX

AJAX

Algorithms

AMD

AMDOC

Analysis services

Analytical

Analytical

Analytical

Analytical

Analytical

Analytical

Analytical

Analytical

Analytical Ability

Analytical Ability

Analytical Ability

Analytical Ability

Android

AOL

Applications

Apps Technical

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

Aptitude

AR

Architecture

Arithmetic

Arithmetic

ASP

ASP.NET

ASP.NET

Audit

Axes Technologies

Aztec Systems

BAAN Infotech

Backup and Recovery

Basics

Basics

Basics

BDC

BFL Software

Birlasoft

Bluetooth

BMC Software

BO Designer

Brigade

Btrieve

Bug Tracking

Business Administration

Business Analyst

Business Intelligence

Business Objects

Business Objects

C

C

C

C

C

C

C

C

C#

C#

C++

C++

Cadance

Calsoft

CapGemini

Career Advice

Career Change

Career Counseling

Career Goals

Caritor

Cashier

CDAC

Challenging Puzzles

Chemical Engineering

CICS

Cisco

Citrix

Civil Engineering

Clarify CRM

Client/Server Computing

Clipper

CMC

COBOL

COBOL

Cognizant

Cognos

Cognos

ColdFusion

Common

Component Interface

Computer Associates

Computer Awareness

Computer Awareness

Computer Awareness

Computer Awareness

Computer Networks

Concepts

Concepts

Concepts

Concepts and Architecture

Contribution

Convergys

Core Java

Cost Accounting

Covansys

Creativity

Critical Reasoning

Critical Reasoning

CSC

CSS

CSS3

CTS

D2K

D2K

Data Access

Data Integration

Data Modeling

Data Structures

Data Warehousing

Data Warehousing

Database

Database

Database

Database Admin

Database Administration

Database Administration

Database security

DataBase Testing

Database Tuning

DataGrid

DataStage

DataStage

DB2

Decisiveness

Dell

Delphi

Desktops

Dharma Systems

Discussion

Distributed Processing

DotNet

DRDO

EJB

EJB

EJB

Electrical Engineering

Electronics Engineering

Engineering

ETL

Firebird

Fixed Assets

Flexfields

Flexibility

Flextronics

Forms Customization

Forms Customization

Freescale Semiconductor

Functional Testing

GE

General

General

General

General Aptitude

General Ledger

Geometrics

GL

Grape City

Group Discussion

Group Discussion

Group Discussions

HAL

HCL

Help Desk

Hexaware

Hibernate

Hibernate

Honey Well

HP (Hewlett-Packard)

HR Questions

HR Questions

HR Questions

HR Questions

HR Questions

HRMS

Html

Hughes

Human Resources

Hyperion

I-Flex

IBM

IBS

ICICI Infotech

IDMS

IGate

Impromptu

iNautix

Informatica

Informatica

Informix

Infosys

Integra

Intel

Interests

Internal Tables

Interview Coaching

Interview Pattern

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Procedure

Interview Questions

Interwoven

iOS

ISRO

J2EE

J2EE

Java

Java

Java

Java

Java

Java

Java Classes

Java Patterns

Java Swing

JavaScript

JCL

JDBC

JMS

Job Interview

Job Performance

Jobs Help

JSP

JSP

JSP

Kanbay

KPIT

Kshema Technology

L&T infotech

Languages

Leadership

Load Testing

LoadRunner

LoadRunner

Logica CMG

Lotus Notes

Lotus Notes

Lucent

Mainframe

Mainframe

Management

Manhattan Associates

MBT

Mechanical Engineering

Memory Management

Micro Processor

MicroProcessor

Microsoft

Microsoft

Microsoft Access

Microsoft.NET

MicroStrategy

MindTree

Mixed

Modules

Motivation

Mphasis

MYSQL

Network

Network Testing

Networking

Networking

Networks and Security

Novartis

NSE-IT

Nucleus

Nvidia

OLAP

OnMobile

ONT

OOPS

OOPS

OOPS

Operating System

Operating System

Oracle

Oracle

Oracle

Oracle

Oracle Apps

Oracle Apps

Oracle DBA

Oracle Forms 4.0

Patni

Payroll

PeopleCode

Peoplesoft

PeopleSoft

PeopleTools

Perl

Personal Interview

Philips

PHP

PL/SQL

PL/SQL

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placement Papers

Placements

Polaris

PostgreSQL

Product Testing

Program Manager Interview

Programmatic Constructs

Programming

Programming

Programming

Progress

Project Manager

Projects

PS Admin

PS Mixed

Puzzles

Python

QA Testing

QALoad

QTP

QTP

Quality Control

Quality Management

Quantitative

Quantitative

Quantitative Aptitude

Quantitative Aptitude

Ramco

Rational Robot

Rational Robot

RDBMS

Reliance

Reporting Services

Reportnet

ReportNet

Reports

Requests

Resume Help

RMAN Interview Questions

Robert Bosch

Ruby

Sales and Distribution

SAP Admin

SAP DB

SAP Labs

SAP R/3

SAP R/3

Sapient

Satyam

Scenarios

Scenarios

Scope and Application

Scripting

Security Testing

Segment Security

Self Assessment

Servers

Servlets

Shell Scripting

Siebel

Siebel

Siebel General

Siemens

SilkTest

SilkTest

Skills

SOAP

Software Testing

Solaris Admin

Sonata

Spring

Spring

SQL

SQL

SQL

SQL

SQL

SQL Plus

SQL Server

SQL Server

SQR

Stored Procedures

Struts

Struts

Subex Systems

Success Stories

Sun

Supervisory

Sybase

Synonyms

System Architecture

System Concepts

TATA Elxsi

TCS

Team Lead

Tech FAQs

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Technical

Teradata

Test Automation

Test Cases

Test Director

Test Director

Testing

Testing

Testing Basics

Testing Definitions

Testing General

Testing Scenarios

Testing Tools

Think Soft

Training Advice

UML

Interview Coaching

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.