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

Answers were Sorted based on User's Feedback



program to find the ASCII value of a number..

Answer / vignesh1988i

#include<stdio.h>
#include<conio.h>
void main()
{
char n;
printf("enter the character:");
scanf("%c",&n);
printf("the ascii value %c is %d",n,n);
getch();
}

Is This Answer Correct ?    53 Yes 16 No

program to find the ASCII value of a number..

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

program to find the ASCII value of a number..

Answer / seshaphani

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

}

Is This Answer Correct ?    9 Yes 7 No

program to find the ASCII value of a number..

Answer / ketan deshmukh

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

void main()
{
int i;
for (i=0;i<255;i++)
printf("ASCII for %d is %c\n",i,i);
getch();
}

Is This Answer Correct ?    8 Yes 7 No

program to find the ASCII value of a number..

Answer / thiyanesh

#include<stdio.h>
void main()
{
char num ;
printf("enter the number: ");
scanf("%c",&num);
printf("the ascii value of %c is %d",num,num);
return 0;
}

Is This Answer Correct ?    1 Yes 0 No

program to find the ASCII value of a number..

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

program to find the ASCII value of a number..

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

program to find the ASCII value of a number..

Answer / rukmanee

#include<stdio.h>
#include<conio.h>
main()
{
int num;
clrscr();
printf("enter a number");
scanf("%d",&num);
printf("the ascii value of the number is %c",num);
getch();
}

Is This Answer Correct ?    2 Yes 12 No

Post New Answer

More C Interview Questions

Write a program on swapping (100, 50)

0 Answers   BPL,


Compare interpreters and compilers.

0 Answers  


can we access one file to one directory?

1 Answers  


Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.

1 Answers  


What is the most efficient way to count the number of bits which are set in an integer?

0 Answers  


List out few of the applications that make use of Multilinked Structures?

1 Answers   Accenture,


What is sizeof c?

0 Answers  


what is a function method?give example?

0 Answers  


write a program for fibonaci series by using while loop in c?

2 Answers  


How can I find out the size of a file, prior to reading it in?

0 Answers  


Differentiate fundamental data types and derived data types in C.

0 Answers   HCL,


Does * p ++ increment p or what it points to?

0 Answers  


Categories