Publications for the ACM and IEEE have their own citation format. If you're submitting an article for publication in either of these venues, follow these examples.
Note: Some publications have their own manuscript guidelines/templates that list citation format examples. Always follow the citation format listed within the manuscript guidelines. Ask a Librarian for assistance locating guidelines.