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...

program to find the ASCII value of a number

Answer Posted / babitha

# include<stdio.h>
# include <conio.h>

void main()
{
char input;
printf("enter an input to get ascii of input");
scanf("%c",&input);
printf("\n ascii of input %c: is %d",input,input);
getch();
}

Is This Answer Correct ?    39 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of realloc()?

1139


What are loops c?

1052


When should a type cast not be used?

1057


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

3144


What is identifier in c?

1008


How can you determine the size of an allocated portion of memory?

1297


What is bubble sort in c?

1047


What is an auto keyword in c?

1096


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1058


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

1108


Create a simple code fragment that will swap the values of two variables num1 and num2.

1283


Write the syntax and purpose of a switch statement in C.

1099


What is pragma in c?

1201


Is fortran faster than c?

1034


Explain what is meant by high-order and low-order bytes?

1044