How to count of the number of characters used in the print with C

1 Answer

0 votes
#include <stdio.h>

int main(void) {
	int count;
	
	printf("c c++ java%n\n", &count);
	
	printf("%d", count);

	return 0;
}




/*
run:

c c++ java
10

*/

 



answered Jul 31, 2022 by avibootz

Related questions

...