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 / dhinakar

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

void main()
{
char num;
printf("Enter the number");
scanf("%c",&num);
printf("ASCII of %d is %d\n",atoi(&num),num);

}

Is This Answer Correct ?    7 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain void pointer?

977


What is the scope of local variable in c?

1049


Tell me with an example the self-referential structure?

944


What is || operator and how does it function in a program?

1043


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

1205


What is LINKED LIST? How can you access the last element in a linked list?

1021


What is 1f in c?

2572


What does main () mean in c?

1061


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1122


What is 'bus error'?

1094


Explain is it better to bitshift a value than to multiply by 2?

1142


How do you declare a variable that will hold string values?

1107


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1927


Tell me when would you use a pointer to a function?

1015


Can I initialize unions?

992