{"id":2442,"date":"2010-05-15T11:25:33","date_gmt":"2010-05-15T15:25:33","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=2442"},"modified":"2016-07-07T09:39:18","modified_gmt":"2016-07-07T13:39:18","slug":"fun-with-c99-syntax","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2010\/05\/15\/fun-with-c99-syntax\/","title":{"rendered":"Fun With C99 Syntax"},"content":{"rendered":"<p><a href=\"http:\/\/www.dribin.org\/dave\/blog\/archives\/2010\/05\/15\/c99_syntax\/\">Dave Dribin<\/a>:<\/p>\r\n<blockquote cite=\"http:\/\/www.dribin.org\/dave\/blog\/archives\/2010\/05\/15\/c99_syntax\/\">\r\n<p>But because these are anonymous variables, you can take the address of them:<\/p>\r\n<pre>int * iPointer = &amp;(int) {3};<\/pre>\r\n<p>This can be useful for some Core Audio APIs, such as <code>AudioUnitSetProperty<\/code>. Typically you create a variable for the sole purpose of taking the address of it&#8230;<\/p>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Dave Dribin: But because these are anonymous variables, you can take the address of them: int * iPointer = &amp;(int) {3}; This can be useful for some Core Audio APIs, such as AudioUnitSetProperty. Typically you create a variable for the sole purpose of taking the address of it&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[45,71],"class_list":["post-2442","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-c","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/2442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=2442"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/2442\/revisions"}],"predecessor-version":[{"id":15081,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/2442\/revisions\/15081"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=2442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=2442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=2442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}