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...

What is difference between the following 2 lines….

int temp = (int)(0x00);
int temp = (0x00int);

Answer Posted / mandoos

first is an integer declaration and initializing it with a
hex value

Second will produce syntax error, is that question is correct?

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2780


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

3179


What is the maximum length of an identifier?

1186


Explain modulus operator. What are the restrictions of a modulus operator?

1018


What is the use of a conditional inclusion statement in C?

1065


Why is c called c not d or e?

1101


What are header files? What are their uses?

1218


How do you redirect a standard stream?

1110


What is #pragma statements?

1101


Why c is called free form language?

1024


When should you not use a type cast?

1125


What is the difference between break and continue?

1528


Describe newline escape sequence with a sample program?

1121


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1123


What is difference between %d and %i in c?

1241