new_instruction2
stringlengths 155
411
|
---|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that checks if a floating-point number is greater than another.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that checks if a floating-point number is less than another.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that calculates the absolute value of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that calculates the ceiling value of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that calculates the floor value of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that checks if a floating-point number is zero.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that checks if a floating-point number is NaN (Not a Number).
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that calculates the sine of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that calculates the cosine of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that calculates the tangent of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that calculates the natural logarithm of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that calculates the exponential value of a floating-point number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that checks if a floating-point number is infinite.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that calculates the absolute difference between two floating-point numbers.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that calculates the power of a floating-point number to another.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that converts a floating-point number to a string representation.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares a pointer to a function with no arguments and returns an integer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares a pointer to a function with an integer argument and returns nothing.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares a pointer to a function with two float arguments and returns a float.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares a pointer to a function with a character argument and returns a character.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares a pointer to a function with a pointer argument and returns a pointer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares a pointer to a function with an array argument and returns an integer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to find the maximum of two integers.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to find the minimum of two floats.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to convert a string to uppercase.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to calculate the length of a string.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to sort an array of integers in ascending order.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to check if a number is prime.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to concatenate two strings.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to reverse a string.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to calculate the average of an array of floats.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to find the factorial of a number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to determine if a given year is a leap year.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to swap the values of two integers.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to check if a string is a palindrome.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to count the number of vowels in a string.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that uses a pointer to a function to search for a specific character in a string.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to find the largest element in an array of floats.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to calculate the sum of an array of integers.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to check if a given string is a valid email address.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to calculate the square of a number.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that uses a pointer to a function to determine if a string is a palindrome or not.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that declares an integer pointer variable initialized to NULL.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that demonstrates the use of a null pointer in an if statement.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that displays the memory address of a null pointer using the printf function.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Write a program in C that declares a null character pointer and assigns it a string literal.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Write a program in C that uses a null pointer to traverse an array and count the number of elements.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that demonstrates how to check if a pointer is null using an if statement.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that sets a pointer to null using the assignment operator.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that uses a null pointer to access a structure member.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that shows the difference between a null pointer and a pointer to a null object.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Write a program in C that initializes an array of pointers with null values.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that demonstrates the use of a null pointer as a function argument.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Write a program in C that checks if a null pointer can be used in arithmetic operations.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that uses a null pointer to access a member of a structure using the arrow operator.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that shows how to assign a null pointer to an array of pointers.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that demonstrates the use of a null pointer in a switch statement.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that shows how to compare a null pointer with a non-null pointer using the equality operator.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that demonstrates the use of a null pointer in a for loop.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Write a program in C that uses a null pointer to access elements of a 2D array.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that shows how to pass a null pointer to a function that takes a pointer as an argument.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that demonstrates the use of a null pointer in a while loop.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that assigns a null pointer to a pointer variable after deallocating memory.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that uses a null pointer to access elements of a dynamic array.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that shows the difference between a null pointer and an uninitialized pointer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Write a program in C that demonstrates the use of a null pointer in a do-while loop.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Write a program in C that assigns a null pointer to a pointer variable after freeing memory using the free function.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to an integer variable, and then prints the value of that variable.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a character variable, and then prints the value of that variable.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to an array of integers, and then prints the values stored in the array.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to an array of characters, and then prints the characters stored in the array.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a function, and then calls that function.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a structure, and then accesses a member variable of the structure using the void pointer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a union, and then accesses a member variable of the union using the void pointer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a dynamically allocated integer variable, and then prints the value of that variable.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a dynamically allocated character variable, and then prints the value of that variable.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a dynamically allocated array of integers, and then prints the values stored in the array.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a dynamically allocated array of characters, and then prints the characters stored in the array.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a callback function, and then calls that function with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a structure with a function pointer member, and then calls that function through the void pointer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a structure with a function pointer member, and then dynamically assigns a different function to that member and calls it through the void pointer.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a structure with a callback function pointer member, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a structure with a callback function pointer member, and then dynamically assigns a different callback function to that member and calls it through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer as an argument, and then calls that function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer as an argument and returns a void pointer, and then calls that function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a callback function pointer as an argument, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a callback function pointer as an argument and returns a void pointer, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer and a callback function pointer as arguments, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer and a callback function pointer as arguments and returns a void pointer, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer, a callback function pointer, and an extra argument, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer, a callback function pointer, and an extra argument, and returns a void pointer, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer, a callback function pointer with arguments, and an extra argument, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that declares and assigns a void pointer to a function that takes a void pointer, a callback function pointer with arguments, and an extra argument, and returns a void pointer, and then calls that callback function through the void pointer with some arguments.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Creates a structure containing another structure as its member.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Demonstrates nested structures by creating a structure holding student information and marks in multiple subjects.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Uses structures within structures to store employee details such as name, address, and salary.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Implements a structure within a structure to store a book's information, including its author.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 3[/INST] Write a program in C that Declares a structure with a pointer to another structure and dynamically allocates memory for the inner structure.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Implements a structure within a structure to store details of a company and its employees.
|
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART β A section, for 6[/INST] Write a program in C that Uses a structure within a structure to store information about a car and its engine.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.