• Call Us: +91 9437911966
  • Email Us: info@studentstutorial.com
  • Home
  • C Examples
  • Server Side
    • PHP
    • Java
    • CodeIgniter
    • Laravel
    • JSP
    • JDBC
  • Frontend
    • HTML
    • CSS
    • Javascript
    • jQuery
    • AJAX
    • FPDF
    • TCPDF
  • APP & DB
    • Android
    • Cordova
    • SQL
    • Oracle
  • Project
C Tutorial C Introduction C Characteristic C Comments C Operator C Assign Operator C Arithmetic Oper.. C Logical Operator C Modulus Operator C Variable C Initialise Variable C Print F C Translators C Programming C Control Flow C If Else Statement C Nested If Else C Loops C While Loops C For Loops C Do While C Nested Loops

C Assignment Operator

  • Students Tutorial
  • 08 jun 2020
   

it is binary operator.

Binary operator means require arguments i.e. left right side arguments.

By using assignment operator we can assign right side value to left side variable.

When we are working with binary operator if any one of the argument is missing, it gives an error.

When we are working with assignment operator right side argument can be variable type or constant type left side argument must be variable type only.

Syntax:-

Ex:

A= 100;
A= 100; Error statement missing
A= 12.86;
A= ‘D’
A=; Error R value require (Binary)
C= 120; Error (Binary)
100= 200; Error L side should be veg.
A= 100;
B= a;

Student Tutorial is a online tutorial for web design and development. Here you can find easy example and explanation for each tutorial.
Copyright © 2016-2025 Student Tutorial

Server Side

  • PHP
  • Java
  • CodeIgniter
  • Laravel
  • JSP
  • JDBC

Frontend

  • HTML
  • CSS
  • Javascript
  • jQuery
  • AJAX
  • FPDF

App & Database

  • Android
  • Cordova
  • SQL
  • Oracle