{"id":24790,"date":"2017-09-08T17:43:03","date_gmt":"2017-09-08T12:13:03","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=24790"},"modified":"2017-09-08T17:43:03","modified_gmt":"2017-09-08T12:13:03","slug":"getmaxy-function-c","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/getmaxy-function-c\/","title":{"rendered":"getmaxy function in c"},"content":{"rendered":"<p>getmaxy function returns the maximum Y coordinate for current graphics mode and driver.<\/p>\n<p>Declaration :- int getmaxy();<\/p>\n<h2 id=\"c-program-for-getmaxy\">C program for getmaxy<\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-c code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-c code-embed-code\">#include&lt;graphics.h&gt;<br\/>#include&lt;conio.h&gt;<br\/> <br\/>main()<br\/>{<br\/>   int gd = DETECT, gm, max_y;<br\/>   char array[100];<br\/> <br\/>   initgraph(&amp;gd,&amp;gm,&quot;C:\\\\TC\\\\BGI&quot;);<br\/> <br\/>   max_y = getmaxy();<br\/> <br\/>   sprintf(array, &quot;Maximum Y coordinate for current graphics mode and driver is = %d.&quot;,max_y);<br\/>   outtext(array);<br\/> <br\/>   getch();<br\/>   closegraph();<br\/>   return 0;<br\/>}<\/code><\/pre> <\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>getmaxy function in c &#8211; c programming &#8211; getmaxy function returns the maximum Y coordinate for current graphics mode and driver.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[82986,82977,75068,82980,82979,82994,82990,82985,82991,82982,82992,82976,82993,82978,76930,82975],"class_list":["post-24790","post","type-post","status-publish","format-standard","hentry","category-coding","tag-bar3d-function-in-c","tag-callback-function-in-c","tag-function-program-in-c","tag-functions-in-c-language","tag-functions-in-c-pdf","tag-getmaxx-and-getmaxy","tag-getmaxx-function-in-computer-graphics","tag-getmaxx-java","tag-getmaxx-in-c","tag-getmaxx2-in-c","tag-getx-in-c","tag-library-functions-in-c","tag-lineto-function-in-c","tag-scanf-function-in-c","tag-string-functions-in-c","tag-types-of-functions-in-c"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/comments?post=24790"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24790\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=24790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=24790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=24790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}