a simple program in c language

Answer Posted / chaitali

#include <stdio.h>
#include<conio.h>
int main()
{
int num;
num=1;
clrscr();
printf("My favorite number");
printf("is %d because it is first.\n",num);
getch();
return 0;
}

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you return null in c?

861


What is wrong with this statement? Myname = 'robin';

1052


How can I read data from data files with particular formats?

815


what is the different bitween abap and abap-hr?

1934


Calculate 1*2*3*____*n using recursive function??

1758


What is difference between union and structure in c?

780


What are identifiers c?

839


Write a program to implement queue.

870


How can I split up a string into whitespace-separated fields?

808


What is the difference between abs() and fabs() functions?

862


What is unary operator?

855


What do mean by network ?

886


why return type of main is not necessary in linux

1885


How can I find out how much free space is available on disk?

825


Explain about the functions strcat() and strcmp()?

790