Answers for "% in cpp"

C++
2

? in cpp

e = ((a < d) ? (a++) : (a = d))
  //advance if else condition
Posted by: Guest on February-02-2021
0

using of and || c++

x = y = z = 5;
Posted by: Guest on December-30-2020
0

# in c++

You can use '#' sign to get exact name of an argument passed to a macro:
#define what_is(x) cerr << #x << " is " << x << endl;
int variable = 376;
what_is(variable);
// prints "variable is 376"
Posted by: Guest on April-09-2021
-2

x += c++

int main ()
{
  int a, b=3;
  a = b;
  a+=2;             // equivalent to a=a+2
  cout << a;
}
Posted by: Guest on September-29-2020

Browse Popular Code Answers by Language