C Programming Language - Operator's Precedence and Associativity - Part 1

preview_player
Показать описание
This video ssesion discuss about the Operator's Precedence and Associativity in C Programme. You can find a chart showing the Precedence and Associativity of various operators. We have solved few problems (taken from Exam papers)

Subscribe for more videos and latest updates.

regards,
Go-GATE-IIT
Рекомендации по теме
Комментарии
Автор

# include<stdio.h>
# include<iostream>
int main(void)
{int i=1;
std::cout<<i<<i++;

} //expected ans is 12 but outcome is 21

yatharth_er
Автор

why is it the statement in the printf is not in two quotation printf(x, y, z)

SHERIFFDEENSD
Автор

Hlo sir....
Here int i=135, a=135; then how (!++i!a++) this statement will work could u explain this

sukirtikatheria
Автор

I got it. but i'm gonna stick with parentheses and get away from this complexity crap, and it will also clarify my code.

osamagamal
Автор

x=120;
printf("%d %d %d", x, x++, ++x);
wht will be the output

sidharthizationful
Автор

can you explin one more time tha last one [printf("%d", z>=y>=x?1:0)] it is clear plzzzz...

ashutoshverma