Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to output plastic variables and symbols at the same time in c language PRINTF
How to output plastic variables and symbols at the same time in c language PRINTF
Similar to outputting a variable, you only need to add corresponding contents before and after it, such as printf("%d, %d\n ",a, b);

Printf ("output format type", variable);

take for example

int a = 10;

int b = 20

printf("%d,%d\n ",a,b);