main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?
10 19318#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?
4 20131#include
#include
#include
how to convert binary to decimal and decimal to binary in C lanaguage
BPO, Far East Promotions, IBM, RBS,
7 28134Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
TCS,
1 7136
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What is include directive in c?
What is type qualifiers?
How can I swap two values without using a temporary?
Why do we use static in c?
What are terms in math?
Differentiate between the = symbol and == symbol?
If you know then define #pragma?
What is pointer to pointer in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is #define in c?
Compare array data type to pointer data type
Explain how can you restore a redirected standard stream?
How can I copy just a portion of a string?
Explain what does the function toupper() do?