Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain what math functions are available for integers? For floating point?

1062


Should a function contain a return statement if it does not return a value?

1016


can we implement multi-threads in c.

1087


What is the use of typedef in structure in c?

916


Write a c program to demonstrate character and string constants?

2114


Which one would you prefer - a macro or a function?

1033


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3457


What is the difference between printf and scanf in c?

1284


What is the difference between union and anonymous union?

1249


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

1098


What is a scope resolution operator in c?

1205


What are pointers in C? Give an example where to illustrate their significance.

1167


What is return type in c?

1074


Tell me is null always defined as 0(zero)?

1034


What is an auto keyword in c?

1045