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 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

637


What are Macros? What are its advantages and disadvantages?

649


What is build process in c?

645


What does the function toupper() do?

658


What are the types of variables in c?

582






What does 3 periods mean in texting?

600


Which control loop is recommended if you have to execute set of statements for fixed number of times?

811


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2030


What does nil mean in c?

673


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1455


what type of questions arrive in interview over c programming?

1559


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5464


Explain logical errors? Compare with syntax errors.

631


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2721


Explain what is the difference between a string and an array?

640