Answer Posted / 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 |
Post New Answer View All Answers
What is data types?
Differentiate abs() function from fabs() function.
Explain about C function prototype?
What is array of structure in c?
What is %s and %d in c?
Explain the term printf() and scanf() used in c language?
Explain high-order and low-order bytes.
Write a Program to find whether the given number or string is palindrome.
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Is null always equal to 0(zero)?
What is null in c?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Which type of language is c?
What is a constant and types of constants in c?
What is the Purpose of 'extern' keyword in a function declaration?