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 6[/INST] Write a program in C that Finds the length of a string using pointer arithmetic.
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 Concatenates two strings using pointer arithmetic.
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 Compares two strings using pointer arithmetic.
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 Copies a string to another using pointer arithmetic.
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 Finds the minimum value in an array using pointer arithmetic.
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 Finds the maximum value in an array using pointer arithmetic.
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 Counts the number of vowels in a string using pointer arithmetic.
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 Reverses the elements of an array using pointer arithmetic.
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 number is present in an array using pointer arithmetic.
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 number is a prime number using pointer arithmetic.
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 Sorts an array in ascending order using pointer arithmetic.
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 Creates a 2D array of integers of size 3x3.
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 Initializes a 3D array of characters of size 2x3x4.
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 Finds the sum of all elements in a given 2D 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 Calculates the product of two matrices of size 2x3 and 3x4.
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 Transposes a given 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 Prints the diagonal elements of a square matrix.
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 given 2D array is symmetric.
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 Adds two matrices of the same size.
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 Multiplies each element of a matrix by a constant value.
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 given 2D array is a magic square.
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 Prints the largest element in each row of a 2D matrix.
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 Computes the average of each column in a 2D matrix.
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 given 2D array is a sparse matrix.
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 Swaps two rows in a 2D matrix.
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 given 2D array is a symmetric matrix.
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 Creates a 3D array of floats of size 2x2x2.
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 Prints the sum of each row in a 2D matrix.
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 Performs matrix multiplication for a 2D array with a scalar value.
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 given 2D array is an upper triangular matrix.
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 Swaps two columns in a 2D matrix.
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 Sorts the rows of a 2D array in ascending order.
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 Prints the maximum element in each column of a 2D matrix.
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 Computes the product of diagonal elements in a square matrix.
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 given 2D array is a lower triangular matrix.
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 determinant of a square matrix.
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 pointer to pointer to access and modify the value of an integer 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 Write a program in C that uses a pointer to pointer to swap the values of two integer variables.
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 accepts user input and uses a pointer to pointer to store and display the inputted 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 Write a program in C that dynamically allocates memory for an integer using a pointer to pointer and then prints its value.
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 pointer to pointer to access and modify the value of an element in a 2D 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 Write a program in C that uses a pointer to pointer to concatenate two strings and stores the result in a new 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 Write a program in C that accepts user input for a character array and uses a pointer to pointer to find the length of the inputted 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 Write a program in C that dynamically allocates memory for a 2D array of integers using a pointer to pointer, then prints its values.
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 pointer to pointer to reverse the elements of an integer 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 demonstrates the use of a pointer to pointer to access and modify the value of an element in a struct.
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 pointer to pointer to find the largest element in an integer 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 dynamically allocates memory for an array of structs using a pointer to pointer, then prints the values of each struct.
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 pointer to pointer to check whether a given string is a palindrome.
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 accepts user input for an array and uses a pointer to pointer to sort the elements in ascending order.
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 pointer to pointer to access and modify the value of an element in a linked list.
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 pointer to pointer to find the sum of all elements in a 2D 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 Write a program in C that dynamically allocates memory for a linked list using a pointer to pointer, then prints the values of each node.
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 pointer to pointer to check whether a given number is present in an integer 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 Write a program in C that accepts user input for an array and uses a pointer to pointer to find the average of all the 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 the use of a pointer to pointer to access and modify the value of an element in a binary tree.
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 pointer to pointer to find the product of all elements in 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 dynamically allocates memory for a binary tree using a pointer to pointer, then prints the values of each node.
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 pointer to pointer to check whether a given string is a substring of another 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 Write a program in C that accepts user input for an array and uses a pointer to pointer to find the minimum and maximum 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 the use of a pointer to pointer to access and modify the value of an element in a stack.
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 variable as const.
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 variable as volatile.
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 variable as const and volatile.
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 passes a variable as const argument to a 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 returns a const value from a 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 defines a pointer to a const 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 defines a constant pointer to a 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 defines a pointer to a const 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 defines a const pointer to a const 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 a function argument as volatile.
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 returns a volatile value from a 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 defines a pointer to a volatile 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 defines a volatile pointer to a 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 defines a pointer to a volatile 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 defines a volatile pointer to a volatile 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 an array as const.
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 an array as volatile.
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 an array as const and volatile.
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 defines a pointer to a const 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 defines a constant pointer to an 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 defines a pointer to a volatile 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 defines a volatile pointer to an 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 a structure as const.
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 as volatile.
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 as const and volatile.
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 typedef for an integer named "myInt".
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 typedef for a character named "myChar".
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 typedef for a float named "myFloat".
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 typedef for a double named "myDouble".
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 typedef for a struct named "person".
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 typedef for an array of integers named "myIntArray".
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 typedef for a function pointer named "myFuncPtr" that takes an integer as a parameter and returns void.
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 typedef for a pointer to an integer named "myIntPtr".
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 typedef for a pointer to a character named "myCharPtr".
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 typedef for a pointer to a struct named "personPtr".
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 typedef for a function pointer named "myFuncPtr" that takes two integers as parameters 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 typedef for a pointer to a function that takes an integer and a character as parameters 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 typedef for a 2D array of integers named "myIntMatrix".
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 typedef for a 3D array of floats named "myFloatCube".