tag:blogger.com,1999:blog-959939550345671470.post5859952498612663946..comments2024-03-24T12:51:18.535+05:30Comments on C programming Interview questions and answers: Input output function questions and answer with explanationPriyanka kumarihttp://www.blogger.com/profile/08145649011863585828noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-959939550345671470.post-81413880230399113262015-02-03T10:24:06.222+05:302015-02-03T10:24:06.222+05:30int printf( const char *var,...);//prototype
int p...int printf( const char *var,...);//prototype<br />int printf(const char *v,...)<br />{<br />}Anonymoushttps://www.blogger.com/profile/12112097978417422681noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-36104082192990920062013-12-26T12:53:14.239+05:302013-12-26T12:53:14.239+05:30Very usefull siteVery usefull siteAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-82589389937171430902012-11-29T17:07:45.962+05:302012-11-29T17:07:45.962+05:30pls run this code to get the output:
int a=200,b=...pls run this code to get the output:<br /><br />int a=200,b=300;<br />long int x=a*b;<br />printf("%ld",x);<br /><br />Note: plz use "ld" as specifier since x is "long int"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-44855080112255099942011-12-29T22:17:51.716+05:302011-12-29T22:17:51.716+05:30int a=200,b=300;
long int x=a*b;
printf("%d&q...int a=200,b=300;<br />long int x=a*b;<br />printf("%d",x);<br /><br />why does not x print proper o/p ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-80898535691919654062011-08-30T18:30:53.923+05:302011-08-30T18:30:53.923+05:30Hi Latha
Output will be 200
In c any condition op...Hi Latha<br />Output will be 200<br /><br />In c any condition operation return 1 if it is true otherwise 0<br /><br />Since <br />a>=b>=c<br />1>=3>=2<br />(1>=3)>=2 //Condition is true <br />1>=2 <br />0 //Condition is falsePriyanka kumarihttps://www.blogger.com/profile/08145649011863585828noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-88741924882062515052011-08-30T16:05:38.560+05:302011-08-30T16:05:38.560+05:30#include
void main()
{
int a=1,b=3,c=2;
a=(a>=b...#include<br />void main()<br />{<br />int a=1,b=3,c=2;<br />a=(a>=b>=c?100:200);<br />printf(”\n%d”,a);<br /><br />getch();<br /><br />}<br />what is the out put for thislathahttps://www.blogger.com/profile/13488809541929119958noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-62440725029172942552011-08-06T23:38:45.349+05:302011-08-06T23:38:45.349+05:30great mamagreat mamaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-46245585890981760812011-05-26T20:40:04.826+05:302011-05-26T20:40:04.826+05:30very goodvery goodAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-15651258130207174472011-04-13T14:42:06.011+05:302011-04-13T14:42:06.011+05:30goodgoodAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-67459002942784080892010-10-29T10:50:42.170+05:302010-10-29T10:50:42.170+05:30Hi kapil,
Go through the following link for multip...Hi kapil,<br />Go through the following link for multiplication of matrix :<br />http://cquestionbank.blogspot.com/2008/01/write-c-program-for-multiplication-of.htmlPriyanka kumarihttps://www.blogger.com/profile/08145649011863585828noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-70557106460161131742010-10-28T18:21:58.106+05:302010-10-28T18:21:58.106+05:30write a program to multiplication of a 3x3 matrixwrite a program to multiplication of a 3x3 matrixUnknownhttps://www.blogger.com/profile/12040412692621890234noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-67378967370217985832010-07-14T17:48:03.731+05:302010-07-14T17:48:03.731+05:30Its really amazing site for beginners..
especially...Its really amazing site for beginners..<br />especially pointer in c tutor is really clear and excellent...<br />thanksRethehttps://www.blogger.com/profile/08899487387774903412noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-59297708567034041712010-03-15T18:40:46.756+05:302010-03-15T18:40:46.756+05:30niceniceAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-76636896327718747952009-10-31T12:16:45.165+05:302009-10-31T12:16:45.165+05:30these are really very very nice questions and i fo...these are really very very nice questions and i found it to be very useful and i run all the programs and accuracy is 100% of the answers of these questions.hiteshhttps://www.blogger.com/profile/16678188401372978028noreply@blogger.com