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 Allocates memory for a dynamic array of structs using `malloc()` and prints the memory addresses 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 Swaps the values of two variables using pointers. |
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 Retrieves the size of a dynamically allocated array using pointers. |
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 Converts a string to uppercase using a pointer and the `toupper()` 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 Searches for a specific value in an integer array using a 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 Finds the length of a string using a pointer and a 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 Reverses the order of elements in an integer array using 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 Reallocates memory for a dynamic array using the `realloc()` 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 Checks if a given memory address is valid using the `NULL` 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 Copies a segment of memory from one location to another using `memcpy()`. |
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 Frees the memory allocated for a dynamic array using the `free()` 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 Prints the hexadecimal representation of a memory address using 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 Allocates memory for a multidimensional array using `calloc()` and prints the memory addresses of each element. |
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 bitwise operators to manipulate individual bits in 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 Creates a function that calculates the sum of all elements in an integer array using pointers. |
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 the `memset()` function to set a specific value in a memory block. |
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 total number of characters 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 Converts 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 Converts a string to lowercase. |
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 Reverses a given 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 Checks 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 6[/INST] Write a program in C that Concatenates two strings. |
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 Removes all the spaces in a given 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 Finds the first occurrence of a substring in a given 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 Replaces all occurrences of a character in a string with another character. |
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 two strings are equal. |
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 string starts with a given prefix. |
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 string ends with a given suffix. |
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 Splits a string into multiple substrings based on a delimiter. |
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 Removes all occurrences of a substring from 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 Counts the number of words in a given 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 Extracts a substring from a given 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 Inserts a substring into a given position 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 Checks if a string contains only numeric characters. |
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 occurrences of a character 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 Converts a string to a numeric 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 Swaps the case of alphabetic characters 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 Capitalizes the first letter of each word 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 Checks if a 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 6[/INST] Write a program in C that Trims leading and trailing spaces from 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 Removes all non-alphanumeric characters from 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 defines a function pointer to a function that takes 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 3[/INST] Write a program in C that takes a function pointer as a parameter and calls the function through the 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 defines a function pointer to a function that takes an integer parameter and returns void. |
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 function pointer to a function that takes two float 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 3[/INST] Write a program in C that defines an array of function pointers and prints the result of calling each function 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 defines a function pointer to a function that takes a character pointer as a parameter and returns 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 defines a function pointer to a function that takes a structure as a parameter 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 defines a function pointer to a function that takes a void pointer as a parameter and prints the value pointed by it. |
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 function pointer to a function that takes a function pointer as a parameter and returns a function 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 function pointer to a function that takes a function pointer and a string as parameters and returns 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 defines a typedef for a function pointer and uses it to define a function pointer 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 function pointer to a function that takes a function pointer as a parameter and returns a function pointer of a different type. |
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 function pointer to a function that takes a function pointer as a parameter and calls the function through the passed 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 function pointer to a function that takes a function pointer and an integer as parameters and returns a void. |
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 function pointer to implement a callback function that is called when a certain event occurs. |
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 function pointer to a function that takes an array and its size as parameters and returns the sum of all elements 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 defines a function pointer to a function that takes a function pointer and an array 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 defines a function pointer to a function that takes a function pointer and an array of integers as parameters and returns an array of integers. |
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 function pointer to a function that takes a function pointer and an array of integers as parameters and modifies the elements of 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 defines a function pointer to a function that takes a function pointer and 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 defines a function pointer to a function that takes a function pointer and two integers as parameters and modifies the value of one of the 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 defines a function pointer to a function that takes a function pointer as a parameter and assigns the passed pointer to a global 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 function pointer to a function that takes a function pointer as a parameter and returns a character 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 defines a function pointer to a function that takes a function pointer and a character pointer 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 defines a function pointer to a function that takes a function pointer and a character pointer as parameters and modifies the value of the character 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 defines a function pointer to a function that takes a function pointer and a character pointer as parameters and modifies the value of the passed character 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 defines a function pointer to a function that takes a function pointer and a character pointer as parameters and assigns the passed character pointer to a global va... |
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 sum of two integers 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 Swaps the values of two variables 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 3[/INST] Write a program in C that Reverses 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 Checks if a given character is present 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 6[/INST] Write a program in C that Multiplies each element of an array by a given factor 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 Removes duplicate elements from 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 Converts a decimal number into binary 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 from one variable 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 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 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 6[/INST] Write a program in C that Checks if a given number is prime 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 given number is a palindrome 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 Sorts an array of integers 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 Adds two matrices 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 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 3[/INST] Write a program in C that Converts a string to uppercase 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 Checks if a string is a valid email address 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 Checks if a string is a valid password 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 Calculates the factorial of a given 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 Checks if a given array is a palindrome 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 given array is sorted 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 Finds the second largest element 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 Transposes a matrix 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 GCD (Greatest Common Divisor) of two numbers 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 Write a program in C that initializes a 2D array of integers with size 3x3 and prints 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 takes user input to initialize a 3D array of characters with size 2x2x2 and prints the elements. |
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 a 2D array of floats with size 4x2 and calculates the average value of all 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 initializes a 3D array of integers with size 2x3x4 and prints the sum of each row. |
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 initializes a 2D array of characters with size 5x5 and checks if the array is a square matrix. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is a variable in C? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Define constant in C. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.