example :
#include <stdio.h>
main()
{
int x = 5;
while (x --> 0)
{
printf("%d ", x);
" />
example :
#include <stdio.h>
main()
{
int x = 5;
while (x --> 0)
{
printf("%d ", x);
" />
This is not operator here one have "decrement operator(--)" and one have greater than(>)..
example :
#include <stdio.h>
main()
{
int x = 5;
while (x --> 0)
{
printf("%d ", x);
}
getch();
}
output: 4 3 2 1 0
firstly x=4 because of x--, x decrement 1 then check > operator . if true it access
then 3,2,1,0
Related tag:
What is the “-->” operator in C/C++?
c c++ problem
operator
--> operator mean in C/C++ ?
What is the --> operator in C?
What is the --> operator in C++?
-->
program solve
operators in c
thistimebd Bangladesh Live online newsportal, education, Lifestyle, Health, Photography, gif image etc.
Make your own name or company name website | contact: thistimebd24@gmail.com
Copyright © 2020-2024 News Portal in Bangladesh - THISTIMEBD.COM. ALL Rights Reserved.