tag:blogger.com,1999:blog-8612108870928357610.post446542076672200167..comments2024-03-29T09:40:43.958+05:30Comments on Learn C Programming from Scratch: Easy-to-Follow Tutorial for Beginners: Converting Centigrade to Fahrenheit using C | C ProgramUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8612108870928357610.post-29080221533425665542018-05-08T11:09:48.674+05:302018-05-08T11:09:48.674+05:30Hello Tanmay,
Great post. Well thought out. This ...Hello Tanmay,<br /><br />Great post. Well thought out. This piece reminds me when I was starting out Converting Centigrade to Fahrenheit using C after graduating from college.<br /><br />int main ()<br />{<br /> int a=7, t=0;<br /> t=--a+--a+a+++a;<br /> printf("%d",t);<br />}<br />output: 20<br /><br />I could not understand why it prints '20' ? <br /><br />A type cast should not be used to override a const or volatile declaration. Overriding these type modifiers can cause the program to fail to run correctly. A type cast should not be used to turn a pointer to one type of <a href="https://asha24.com/blog/c-interview-questions-and-answers/" rel="nofollow"> structure or data type into another. </a> In the rare events in which this action is beneficial, using a union to hold the values makes the programmer’s intentions clearer.<br /><br />By the way do you have any YouTube videos, would love to watch it. I would like to connect you on LinkedIn, great to have experts like you in my connection (In case, if you don’t have any issues).<br /><br />Regards,<br />AnnyAnonymoushttps://www.blogger.com/profile/02198548195213794657noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-38020121807231451062013-06-16T22:16:56.926+05:302013-06-16T22:16:56.926+05:30why have we taken both cen and fah as float. centi...why have we taken both cen and fah as float. centigrade could have been in int.CMARAJDEEPhttps://www.blogger.com/profile/11536001797752559391noreply@blogger.com