{"id":902,"date":"2019-01-22T10:59:51","date_gmt":"2019-01-22T10:59:51","guid":{"rendered":"https:\/\/ibex.tech\/c\/?p=902"},"modified":"2022-02-17T10:13:11","modified_gmt":"2022-02-17T10:13:11","slug":"c-operators","status":"publish","type":"post","link":"https:\/\/ibex.tech\/c\/c\/general-c-things\/c-operators","title":{"rendered":"C Operators"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">%    Remainder after division (modulo division)<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">The result of a modulo division is the remainder of an integer division of the given numbers. Examples<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  \/\/27 \/ 16 = 1, remainder 11\n  x =  27 \/ 16;   \/\/x is 1\n  x =  27 % 16;   \/\/x is 11\n\n  my_variable_h = (uint8_t)(my_uint16_variable \/ 256);\n  my_variable_l = (uint8_t)(my_uint16_variable % 256);<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>% Remainder after division (modulo division) The result of a modulo division is the remainder of an integer division of the given numbers. Examples<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-902","post","type-post","status-publish","format-standard","hentry","category-general-c-things"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/comments?post=902"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/902\/revisions"}],"predecessor-version":[{"id":905,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/902\/revisions\/905"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/media?parent=902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/categories?post=902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/tags?post=902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}