Question
Is this code legal?
int *ptr;
ptr = (int *) 0x400; Answer:
Yes

Answers

Explanation:
The pointer ptr will point at the integer in the memory location 0x400.   Your Comment






Search
Can you Answer!!
  • Q How will you create a base64 encoder that encodes using the mime type base64 encoding scheme?
  • Q Write a negative and positive integer whose difference is -3.
  • Q What work experience do you have that is relevant to occupational therapy?
  • Q What is smtp protocol?
  • Q What is dengue?
  • Q 'Bharath Matha' is a well-known painting of:
  • Q Explain various applications of the cloud platform.
  • Q What is Passport Authentication Mode in ASP.Net?
  • Q What teratogenic agent causes limb defects ('flipper' limbs)?
  • Q Explain how to start a software application?
  • Q Which country has the biggest constitution in the World?