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
Explain what are global variables and explain how do you declare them?
What is the difference between typedef struct and struct?
what type of questions arrive in interview over c programming?
What is %d used for?
What does. int *x[](); means ?
Is malloc memset faster than calloc?
Tell me when would you use a pointer to a function?
What are the application of c?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Why do we use int main?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
How do we make a global variable accessible across files? Explain the extern keyword?
What does c value mean?
Write a program to swap two numbers without using the third variable?