C++19th Code ( postfix & Prefix) --> (X++) & (++X)
Mohammed Salah

Mohammed Salah @md-salah

About: Civil Engineer Like programming

Location:
saudi arabia
Joined:
Jan 15, 2025

C++19th Code ( postfix & Prefix) --> (X++) & (++X)

Publish Date: Jan 25
0 0
 #include<iostream>
 using namespace std; 
 int main()
 {
 int x = 1; 
 ++x;
 cout<<" x = "<<x++<<endl;
 cout<<" new x = "<<x<<endl;
 return 0 ;
 }  
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment