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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does printf does?

1261


Explain pointers in c programming?

1124


What is meant by gets in c?

1206


Is there anything like an ifdef for typedefs?

1164


What are predefined functions in c?

1115


What is huge pointer in c?

1102


What is a MAC Address?

1071


What are the different types of errors?

1153


In a switch statement, explain what will happen if a break statement is omitted?

1085


Can math operations be performed on a void pointer?

1062


What are valid operations on pointers?

1226


What are the two types of structure?

1103


What is unsigned int in c?

1017


By using C language input a date into it and if it is right?

1094


Write a program of advanced Fibonacci series.

1166