#include <iostream>
#include <string>
using namespace std;
void printData(int val){
cout << val << endl;
}
int main(){
int a;
int b;
int c;
a = ( b=4 , printData(b) , c=6 , printData(c) , (b+c));
cout << a << endl;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: