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 three constants used in c?

718


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

831


Why we use int main and void main?

761


What are the functions to open and close the file in c language?

783


What is hashing in c?

865






What does return 1 means in c?

772


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

966


Write a program to print fibonacci series using recursion?

804


Explain the priority queues?

822


What are # preprocessor operator in c?

835


What does %c mean in c?

828


what is the significance of static storage class specifier?

1891


how to introdu5ce my self in serco

1715


What is external variable in c?

780


What is union and structure in c?

826