gs gs108 Miscellaneous Topics - Unsafe Code Pointers Basics - Quiz No.2
gs gs108 CSharp Quiz
This quiz belongs to book/course code gs gs108 CSharp of gs organization. We have 110 quizzes available related to the book/course CSharp. This quiz has a total of 5 multiple choice questions (MCQs) to prepare and belongs to topic Miscellaneous Topics. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
class UnsafeCode { unsafe static void Main() { int* a; int a1 = 10; int b1; b1 = *&a1; a = &b1; { Console.WriteLine(*a); Console.ReadLine(); } } }
class UnsafeCode { unsafe static void Main() { int n = 10; int* p = &n; int** p1 = &p; int*** p2 = &p1; Console.WriteLine(*p * **p1 * ***p2); Console.ReadLine(); } }
class UnsafeCode { unsafe static void Main() { int* p; p = (int*)(65535); Console.WriteLine((uint)p); Console.ReadLine(); } }