Write code for atoi(x) where x is hexadecimal string.
Answer Posted / yuusaku
int num;
sscanf(string,"%x",&num);
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
define string ?
Explain what are linked list?
FILE PROGRAMMING
What is the difference between c &c++?
What is far pointer in c?
Can we initialize extern variable in c?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Write a program to generate random numbers in c?
What is static and volatile in c?
What does double pointer mean in c?
What is strcpy() function?
Why do we use & in c?
What is call by reference in functions?
What does %p mean c?
How do you write a program which produces its own source code as output?