Breaking News
Loading...

Swap two variable value within one line statement using c program


#include<stdio.h>
void main()
{
    int a=10;

    int b=20;

    printf("a value is = %d    b value is = %d \n",a,b);

    a = ( a + b ) - ( b = a );

    printf("a value is = %d    b value is = %d \n",a,b);

}

1 comments:

  1. The Casino Junket, a New York-New York casino
    The Casino Junket, a 세종특별자치 출장마사지 New York-New York-New York-New York casino has 나주 출장안마 a lot 거제 출장샵 to offer, including 부천 출장마사지 the 춘천 출장샵 opening night, buffet, live shows, poker room,

    ReplyDelete
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer