Comma Can be used as a separator in C++ program , Look at the sample application :
void CommaTesting()
{
int a,int b;
a= 20,b = 20;
printf("\n Value of a = %d \t b = %d",a,b);
}
int main(int argc, char* argv[])
{
CommaTesting();
return 0;
}
the Output is :
Value of a = 10 b = 20
Labels: C++, Cpp
0 Comments:
Post a Comment
<< Home