Answer Posted / 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 |
Post New Answer View All Answers
What are the different file extensions involved when programming in C?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What is methods in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
How to Throw some light on the splay trees?
How can I delete a file?
Write a program of prime number using recursion.
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain Basic concepts of C language?
Does c have function or method?
Why header file is used in c?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
How can a number be converted to a string?