Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is the return type of sizeof?

1036


What does *p++ do? What does it point to?

1012


Explain what does it mean when a pointer is used in an if statement?

1022


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1245


Tell me when is a void pointer used?

1121


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

1064


write an algorithm to display a square matrix.

2660


What is ponter?

1234


How can I use a preprocessorif expression to ?

1015


Why is c called c not d or e?

1058


When can a far pointer be used?

979


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1124


Whats s or c mean?

963


Why do we use null pointer?

1013


How do you define a function?

984