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
Explain void pointer?
What is the scope of local variable in c?
Tell me with an example the self-referential structure?
What is || operator and how does it function in a program?
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
What is LINKED LIST? How can you access the last element in a linked list?
What is 1f in c?
What does main () mean in c?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is 'bus error'?
Explain is it better to bitshift a value than to multiply by 2?
How do you declare a variable that will hold string values?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Tell me when would you use a pointer to a function?
Can I initialize unions?