a simple program in c language

Answer Posted / ragu

#include<stdio.h>
void main(void)
{
int a;
clrscr();
printf("enter a number ");
scanf("%d",&a);

printf("you enter the number %d",a);
getch();
}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of pointers?

579


Why isn't any of this standardized in c? Any real program has to do some of these things.

627


What 'lex' does?

719


What is the argument of a function in c?

576


For what purpose null pointer used?

609






I need previous papers of CSC.......plz help out by posting them.......

1818


What is sizeof array in c?

596


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1077


What is the size of empty structure in c?

595


Can main () be called recursively?

631


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3249


Explain what is meant by 'bit masking'?

645


What is the right way to use errno?

622


What do you mean by a sequential access file?

630


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

721