{"id":478,"date":"2007-04-19T14:34:17","date_gmt":"2007-04-19T07:34:17","guid":{"rendered":"http:\/\/lewcpe.com\/blog\/archives\/478\/prototype\/"},"modified":"2007-04-24T01:11:35","modified_gmt":"2007-04-23T18:11:35","slug":"prototype","status":"publish","type":"post","link":"https:\/\/lewcpe.com\/blog\/archives\/478\/prototype\/","title":{"rendered":"Prototype"},"content":{"rendered":"<p>\u0e25\u0e2d\u0e07\u0e19\u0e31\u0e48\u0e07\u0e17\u0e33 <a href=\"http:\/\/www.gowrikumar.com\/c\/index.html\">C PUZZLES<\/a> \u0e14\u0e39 \u0e41\u0e25\u0e49\u0e27\u0e15\u0e34\u0e14\u0e17\u0e35\u0e48\u0e02\u0e49\u0e2d\u0e19\u0e35\u0e49 \u0e17\u0e35\u0e48\u0e43\u0e2b\u0e49\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e27\u0e48\u0e32\u0e42\u0e04\u0e49\u0e14\u0e02\u0e49\u0e32\u0e07\u0e25\u0e48\u0e32\u0e07\u0e19\u0e35\u0e49\u0e08\u0e30 Segmentation Fault \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e1a\u0e19 IA-64 \u0e41\u0e15\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e1a\u0e19 IA-32<\/p>\n<p><code>int main()<br \/>\n{<br \/>\nint* p;<br \/>\np = (int*)malloc(sizeof(int));<br \/>\n*p = 10;<br \/>\nreturn 0;<br \/>\n}<\/code><\/p>\n<p>\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e04\u0e37\u0e2d\u0e14\u0e31\u0e19\u0e44\u0e21\u0e48\u0e21\u0e35 IA-64 \u0e43\u0e2b\u0e49\u0e40\u0e25\u0e48\u0e19\u0e2d\u0e35\u0e01 \u0e40\u0e25\u0e22\u0e15\u0e49\u0e2d\u0e07\u0e19\u0e31\u0e48\u0e07\u0e2b\u0e32\u0e43\u0e19\u0e40\u0e19\u0e47\u0e15\u0e14\u0e39\u0e27\u0e48\u0e32\u0e21\u0e35\u0e40\u0e09\u0e25\u0e22\u0e01\u0e31\u0e19\u0e21\u0e31\u0e48\u0e07\u0e23\u0e36\u0e40\u0e1b\u0e25\u0e48\u0e32 \u0e41\u0e25\u0e49\u0e27\u0e01\u0e47\u0e40\u0e08\u0e2d\u0e44\u0e21\u0e48\u0e22\u0e32\u0e01 \u0e08\u0e32\u0e01 <a href=\"http:\/\/lists.debian.org\/debian-qa-packages\/2001\/12\/msg00101.html\">debian-list<\/a><\/p>\n<p>\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e04\u0e37\u0e2d\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e40\u0e25\u0e2d\u0e23\u0e4c\u0e44\u0e21\u0e48\u0e1e\u0e1a Prototype \u0e02\u0e2d\u0e07\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 \u0e21\u0e31\u0e19\u0e08\u0e30\u0e04\u0e34\u0e14\u0e40\u0e2d\u0e32\u0e40\u0e2d\u0e07\u0e27\u0e48\u0e32\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e08\u0e30\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19 int 32 \u0e40\u0e2a\u0e21\u0e2d \u0e43\u0e19\u0e01\u0e23\u0e13\u0e35\u0e19\u0e35\u0e49\u0e17\u0e33\u0e43\u0e2b\u0e49 core dump \u0e44\u0e14\u0e49\u0e44\u0e21\u0e48\u0e22\u0e32\u0e01 \u0e27\u0e34\u0e18\u0e35\u0e41\u0e01\u0e49\u0e01\u0e47\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2d\u0e30\u0e44\u0e23\u0e40\u0e25\u0e22 \u0e41\u0e04\u0e48 include \u0e44\u0e1f\u0e25\u0e4c stdlib.h \u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e01\u0e47\u0e08\u0e30\u0e44\u0e21\u0e48\u0e21\u0e35\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e41\u0e25\u0e49\u0e27<\/p>\n<p>\u0e40\u0e02\u0e35\u0e22\u0e19 C \u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e1b\u0e35\u0e46 \u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1e\u0e27\u0e01\u0e19\u0e35\u0e49 \u0e2b\u0e25\u0e32\u0e22\u0e46 \u0e04\u0e23\u0e31\u0e49\u0e07\u0e01\u0e47\u0e41\u0e04\u0e48\u0e15\u0e32\u0e21 Best Practice \u0e44\u0e1b\u0e42\u0e14\u0e22\u0e44\u0e21\u0e48\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e41\u0e2e\u0e30\u0e27\u0e48\u0e32\u0e17\u0e33\u0e44\u0e21\u0e15\u0e49\u0e2d\u0e07 include \u0e43\u0e2b\u0e49\u0e04\u0e23\u0e1a\u0e46<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e25\u0e2d\u0e07\u0e19\u0e31\u0e48\u0e07\u0e17\u0e33 C PUZZLES \u0e14\u0e39 \u0e41\u0e25\u0e49\u0e27\u0e15\u0e34\u0e14\u0e17\u0e35\u0e48\u0e02\u0e49\u0e2d\u0e19\u0e35\u0e49 \u0e17\u0e35\u0e48\u0e43\u0e2b\u0e49\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e27\u0e48\u0e32\u0e42\u0e04\u0e49\u0e14\u0e02\u0e49\u0e32\u0e07\u0e25\u0e48\u0e32\u0e07\u0e19\u0e35\u0e49\u0e08\u0e30 Segmentation Fault \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e1a\u0e19 IA-64 \u0e41\u0e15\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e1a\u0e19 IA-32 int main() { int* p; p = (int*)malloc(sizeof(int)); *p = 10; return 0; } \u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e04\u0e37\u0e2d\u0e14\u0e31\u0e19\u0e44\u0e21\u0e48\u0e21\u0e35 IA-64 \u0e43\u0e2b\u0e49\u0e40\u0e25\u0e48\u0e19\u0e2d\u0e35\u0e01 \u0e40\u0e25\u0e22\u0e15\u0e49\u0e2d\u0e07\u0e19\u0e31\u0e48\u0e07\u0e2b\u0e32\u0e43\u0e19\u0e40\u0e19\u0e47\u0e15\u0e14\u0e39\u0e27\u0e48\u0e32\u0e21\u0e35\u0e40\u0e09\u0e25\u0e22\u0e01\u0e31\u0e19\u0e21\u0e31\u0e48\u0e07\u0e23\u0e36\u0e40\u0e1b\u0e25\u0e48\u0e32 \u0e41\u0e25\u0e49\u0e27\u0e01\u0e47\u0e40\u0e08\u0e2d\u0e44\u0e21\u0e48\u0e22\u0e32\u0e01 \u0e08\u0e32\u0e01 debian-list \u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e04\u0e37\u0e2d\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e40\u0e25\u0e2d\u0e23\u0e4c\u0e44\u0e21\u0e48\u0e1e\u0e1a Prototype \u0e02\u0e2d\u0e07\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 \u0e21\u0e31\u0e19\u0e08\u0e30\u0e04\u0e34\u0e14\u0e40\u0e2d\u0e32\u0e40\u0e2d\u0e07\u0e27\u0e48\u0e32\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e08\u0e30\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19 int 32 \u0e40\u0e2a\u0e21\u0e2d \u0e43\u0e19\u0e01\u0e23\u0e13\u0e35\u0e19\u0e35\u0e49\u0e17\u0e33\u0e43\u0e2b\u0e49 core dump \u0e44\u0e14\u0e49\u0e44\u0e21\u0e48\u0e22\u0e32\u0e01 \u0e27\u0e34\u0e18\u0e35\u0e41\u0e01\u0e49\u0e01\u0e47\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2d\u0e30\u0e44\u0e23\u0e40\u0e25\u0e22 \u0e41\u0e04\u0e48 include \u0e44\u0e1f\u0e25\u0e4c stdlib.h \u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e01\u0e47\u0e08\u0e30\u0e44\u0e21\u0e48\u0e21\u0e35\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e02\u0e35\u0e22\u0e19 C \u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e1b\u0e35\u0e46 \u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1e\u0e27\u0e01\u0e19\u0e35\u0e49 \u0e2b\u0e25\u0e32\u0e22\u0e46 <a class=\"read-more\" href=\"https:\/\/lewcpe.com\/blog\/archives\/478\/prototype\/\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[34,10],"_links":{"self":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/posts\/478"}],"collection":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/comments?post=478"}],"version-history":[{"count":0,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/posts\/478\/revisions"}],"wp:attachment":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/media?parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/categories?post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/tags?post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}