Coding Quiz Zone
Open in Telegram
✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!
Show more1 575
Subscribers
No data24 hours
No data7 days
-930 days
Posts Archive
1 575
class UnsafeCode
{
unsafe static void Main()
{
int* p ;
int ch = 13*5;
p = &(ch);
Console.WriteLine(Convert.ToChar(*p));
if (*p == 'A')
Console.WriteLine(Convert.ToBoolean(1));
else
Console.WriteLine(Convert.ToBoolean(0));
Console.ReadLine();
}
}1 575
class UnsafeCode
{
struct MyStruct
{
public int a;
public int b;
public int Sum()
{
return a / b;
}
}
unsafe static void Main()
{
MyStruct o = new MyStruct();
MyStruct* p;
p = &o;
p->a = 60;
p->b = 15;
int c = 30;
Console.WriteLine("Value is : " + p->Sum()*c);
Console.ReadLine();
}
}1 575
class UnsafeCode
{
unsafe static void Main()
{
int[] nums = new int[10];
fixed (int* p = &nums[0], p2 = nums)
{
if (p == p2)
Console.WriteLine("p and p2 point to same address.");
Console.ReadLine();
}
}
}1 575
Which one of the following lines need to be uncommented or added in the php.ini file so as to enable mysqli extension?
1 575
The updated MySQL extension released with PHP 5 is typically referred to as _______________
1 575
Which one of the following preg PHP functions is used to take a string, and put it in an array?
1 575
Which one of the following preg PHP function is used to do a find and replace on a string or an array?
1 575
Which one of the following functions are used to search a string?
1 575
If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?
1 575
Which variable is used to collect form data sent with both the GET and POST methods?
1 575
The developers of PHP deprecated the safe mode feature as of which PHP version?
