can u give me the c codings for converting a string into
the hexa decimal form......
Answer Posted / ravi jaiswal
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char x[25];
int i=0;
printf("Enter a string");
gets(x);
while(x[i]!='\0')
{
printf("%x\t",x[i]);
i++;
}
getch();
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how to test pierrot divisor
write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30
Sir... please give some important coding questions asked by product companies..
Write a program to model an exploding firecracker in the xy plane using a particle system
write a program for area of circumference of shapes
Develop a routine to reflect an object about an arbitrarily selected plane
How to palindrom string in c language?
What is full form of PEPSI
write a simple calculator c program to perform addition, subtraction, mul and div.
Cluster head selection in Wireless Sensor Network using C programming language.
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
What is data _null_? ,Explain with code when u need to use it in data step programming ?
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns