This blog is under construction

Saturday, 18 January 2014

Operator precedence and associativity in C language

Below is the table for operator precedence and associativity in C programming language.
[ ]
( )
.
->
++ --
Array subscript
Function Call
Structure reference
Structure dereference
Postfix increment/Postfix decrement


Left to right
++ --
+ -
! ~
(type)
*  &
sizeof
Prefix increment/Prefix decrement
Unary plus/Unary minus
Logical negation/One's complement
Typecast operator
Pointer dereference/Address of
Size of type/variable in bytes


Right to left
*  /  % Multiplication/Division/Modulo Left to Right
+ - Addition/Subtraction Left to Right
<<   >> Bitwise left shift/ Bitwise right shift Left to Right
<    >
<=
>=
Comparison less than/Comparision greater than
Comparison less than or equal to
Comparison greater than or equal to

Left to Right
==   != Comparison equal to/Comparison not equal to Left to Right
& Bitwise AND Left to Right
^ Bitwise XOR Left to Right
| Bitwise OR Left to Right
&& Logical AND Left to Right
|| Logical OR Left to Right
?: Ternary Conditional Operator Right to Left
=
*=    /=   %=
+=    -=
<<=   >>=
&=    ^=
|=
Assignment Operator
Mulplication/division/modulo assignment
Addition/Subtraction assignment
Bitwise left shift/right shift assignment
Bitwise AND/XOR assignment
Bitwise OR assignment


Right to Left
, Comma Operator Left to Right


19 comments:

  1. controversial debate topics How to debate, topics for debate, good debate topics, topics to debate & controversial debate topics. Debate offers the world a tool that could not be timelier or more necessary.

    ReplyDelete
  2. cursos para excel - Buscando cursos para Excel? Jirafales es tú fuente en línea para cursos de Excel. Ofrecemos tres niveles de cursos en video para Excel: Básico, Intermedio y Avanzado.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Learn C C# Algorithms at http://www.codeforwin.blogspot.com/

    ReplyDelete
  5. Total Video Converter for Mac Total Video Converter for Mac is the best all-in-one Video Converter for Mac! With this ultra-fast Mac Video Converter,you can convert any video formats and burn your video to an optional DVD disc!
    Paint.Net Mac Paint.Net for Mac like MyBrushes, Pinta, and GIMP are
    some equivalents digital artists can choose to use Paint.Net Mac.

    ReplyDelete
  6. Good
    Here is a link for C/C++ programs and pointer programs. This may be useful for you.

    C/C++ Programs

    ReplyDelete
  7. Nice article admin thanks for share your atricle keep share your knowledge i am waiting for your new post check mens winter jackets polo shirts kindly review and reply me

    ReplyDelete
  8. Nice article admin thanks for share your atricle keep share your knowledge i am waiting for your new post check mens winter jackets polo shirts kindly review and reply me

    ReplyDelete
  9. Here you can find the latest updates and the updated schedule, news, fixtures, and the other teams and squad information. Pakistan super league is the biggest event that will be happening in february 2020 in pakistan. Sportszilla provides you the latest information about the psl 2020 teams squad the captains names, and the other points tables and the other players category list
    Psl live streaming 2020

    ReplyDelete
  10. Hello Everyone !

    USA SSN Leads/Dead Fullz available, along with Driving License/ID Number with good connectivity.

    All SSN's are Tested & Verified.

    **DETAILS IN LEADS/FULLZ**

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER
    ->ADDRESS WITH ZIP
    ->PHONE NUMBER, EMAIL
    ->EMPLOYEE DETAILS

    *Price for SSN lead $2
    *You can ask for sample before any deal
    *If you buy in bulk, will give you discount
    *Sampling is just for serious buyers

    ->Hope for the long term business
    ->You can buy for your specific states too

    **Contact 24/7**

    Whatsapp > +923172721122

    Email > leads.sellers1212@gmail.com

    Telegram > @leadsupplier

    ICQ > 752822040

    ReplyDelete
  11. Hello Everyone !

    USA SSN Leads/Dead Fullz available, along with Driving License/ID Number with good connectivity.

    All SSN's are Tested & Verified.

    **DETAILS IN LEADS/FULLZ**

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER
    ->ADDRESS WITH ZIP
    ->PHONE NUMBER, EMAIL
    ->EMPLOYEE DETAILS

    *Price for SSN lead $2
    *You can ask for sample before any deal
    *If you buy in bulk, will give you discount
    *Sampling is just for serious buyers

    ->Hope for the long term business
    ->You can buy for your specific states too

    **Contact 24/7**

    Whatsapp > +923172721122

    Email > leads.sellers1212@gmail.com

    Telegram > @leadsupplier

    ICQ > 752822040

    ReplyDelete
  12. Dell Laptop Service center are giving repair service at the door. We should high quality Dell out of warranty Laptop Repair, removal of virus, screen removal, wireless network set up, battery removal, motherboard replacement to several other are offered at budget friendly price and it’s Negotiable. We can fix them all in time by our well experience and certified technicians. If you want to repair your laptop in front of your eyesight, than you may call us: 7217871051

    ReplyDelete
  13. **SELLING SSN+DOB FULLZ**

    CONTACT 24/7
    Telegram > @leadsupplier
    ICQ > 752822040
    Email > leads.sellers1212@gmail.com

    >>1$ each without DL/ID number
    >>2$ each with DL
    >>5$ each for premium (also included relative info)

    Price will be reduce in Bulk order

    FORMAT OF LEADS/FULLZ/PROS

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER WITH EXPIRY DATE
    ->COMPLETE ADDRESS
    ->PHONE NUMBER, EMAIL, I.P ADDRESS
    ->EMPLOYMENT DETAILS
    ->REALTIONSHIP DETAILS
    ->MORTGAGE INFO
    ->BANK ACCOUNT DETAILS

    >All Leads are Spammed & Verified.
    >Fresh spammed data of USA Credit Bureau
    >Good credit Scores, 700 minimum scores
    >Invalid info found, will be replaced.
    >Payment mode BTC, ETH, LTC, PayPal, USDT & PERFECT MONEY

    ''OTHER GADGETS PROVIDING''

    >SSN+DOB Fullz
    >CC with CVV
    >Photo ID's
    >Dead Fullz
    >Carding Tutorials
    >Hacking Tutorials
    >SMTP Linux Root
    >DUMPS with pins track 1 and 2
    >Sock Tools
    >Server I.P's
    >HQ Emails with passwords

    Contact 24/7

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ReplyDelete
  14. Quality work is done in this article. It is a nice way to get going. I am very much pleased by your content. Now its time to avail limousine service Dublin ca for more information.

    ReplyDelete

  15. Choose our MacBook Logic Repair service for a comprehensive solution backed by expertise, efficiency, and a commitment to quality. Trust us to breathe new life into your MacBook, extending its longevity and ensuring a smooth, trouble-free computing experience. Visit MacBook Repair

    ReplyDelete